pub struct NewMessage {
pub revision: u64,
pub character: Option<String>,
pub message: Message,
}Expand description
Conversation message appended by the daemon.
The frame’s origin lives on the flattened Message (message.origin).
Because message is flattened, the wire shape is byte-identical to the
envelope-level origin field this struct carried historically — only the
Rust-side field moved.
Fields§
§revision: u64§character: Option<String>§message: MessageTrait Implementations§
Source§impl Clone for NewMessage
impl Clone for NewMessage
Source§fn clone(&self) -> NewMessage
fn clone(&self) -> NewMessage
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 moreSource§impl Debug for NewMessage
impl Debug for NewMessage
Source§impl<'de> Deserialize<'de> for NewMessage
impl<'de> Deserialize<'de> for NewMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NewMessage
impl RefUnwindSafe for NewMessage
impl Send for NewMessage
impl Sync for NewMessage
impl Unpin for NewMessage
impl UnsafeUnpin for NewMessage
impl UnwindSafe for NewMessage
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