pub struct MessageEntry {
pub id: String,
pub parent_id: Option<String>,
pub timestamp: String,
pub message: Message,
}Expand description
A message tree entry (S9.3 message type).
The message field uses the provider-facing Message type (S7.1), not
AgentMessage. Each S9.3 entry type maps to its own payload structure.
Fields§
§id: String§parent_id: Option<String>§timestamp: String§message: MessageTrait Implementations§
Source§impl Clone for MessageEntry
impl Clone for MessageEntry
Source§fn clone(&self) -> MessageEntry
fn clone(&self) -> MessageEntry
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 MessageEntry
impl Debug for MessageEntry
Source§impl<'de> Deserialize<'de> for MessageEntry
impl<'de> Deserialize<'de> for MessageEntry
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 MessageEntry
impl RefUnwindSafe for MessageEntry
impl Send for MessageEntry
impl Sync for MessageEntry
impl Unpin for MessageEntry
impl UnsafeUnpin for MessageEntry
impl UnwindSafe for MessageEntry
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