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