pub enum NormalizedMessage {
User(NormalizedUserMessage),
Assistant(NormalizedAssistantMessage),
Progress(ProgressMessage),
Attachment(AttachmentMessage),
System(SystemMessage),
}Expand description
Normalized message types
Variants§
User(NormalizedUserMessage)
Assistant(NormalizedAssistantMessage)
Progress(ProgressMessage)
Attachment(AttachmentMessage)
System(SystemMessage)
Trait Implementations§
Source§impl Clone for NormalizedMessage
impl Clone for NormalizedMessage
Source§fn clone(&self) -> NormalizedMessage
fn clone(&self) -> NormalizedMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 NormalizedMessage
impl Debug for NormalizedMessage
Source§impl<'de> Deserialize<'de> for NormalizedMessage
impl<'de> Deserialize<'de> for NormalizedMessage
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 NormalizedMessage
impl RefUnwindSafe for NormalizedMessage
impl Send for NormalizedMessage
impl Sync for NormalizedMessage
impl Unpin for NormalizedMessage
impl UnsafeUnpin for NormalizedMessage
impl UnwindSafe for NormalizedMessage
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