pub struct ParsedAmpMessage {
pub message_id: Option<i64>,
pub timestamp: DateTime<Utc>,
pub role: MessageRole,
pub content: MessageContent,
pub model: Option<String>,
}Expand description
Intermediate representation of a parsed Amp message.
Fields§
§message_id: Option<i64>§timestamp: DateTime<Utc>§role: MessageRole§content: MessageContent§model: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedAmpMessage
impl RefUnwindSafe for ParsedAmpMessage
impl Send for ParsedAmpMessage
impl Sync for ParsedAmpMessage
impl Unpin for ParsedAmpMessage
impl UnwindSafe for ParsedAmpMessage
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