pub struct Message {
pub meta: Metadata,
pub body: Body,
pub span: Span,
}Expand description
A single chat message.
Fields§
§meta: MetadataThe message Metadata.
body: BodyThe message’s Body.
span: SpanThe location of this Message in its source text.
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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