pub struct PendingMessage {
pub pending: u64,
pub channel: Channel,
pub author: MemberId,
pub content: String,
pub reply_to: Option<MessageId>,
pub created_at: u64,
}Expand description
A post on its way (Channel::send_pending): what to show until the host answers.
Fields§
§pending: u64This client’s number for it, named again by the outcome event.
channel: ChannelWhere it was posted.
This member.
content: StringIts text.
reply_to: Option<MessageId>The message it answers, if any.
created_at: u64When it was posted here, ms since the Unix epoch (the host’s time comes with it).
Trait Implementations§
Source§impl Clone for PendingMessage
impl Clone for PendingMessage
Source§fn clone(&self) -> PendingMessage
fn clone(&self) -> PendingMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PendingMessage
impl RefUnwindSafe for PendingMessage
impl Send for PendingMessage
impl Sync for PendingMessage
impl Unpin for PendingMessage
impl UnsafeUnpin for PendingMessage
impl UnwindSafe for PendingMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more