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