pub struct SessionTranscriptMessage {
pub timestamp: Option<String>,
pub role: String,
pub text: String,
}Expand description
A single transcript message extracted from a Codex session JSONL.
Fields§
§timestamp: Option<String>§role: String§text: StringTrait Implementations§
Source§impl Clone for SessionTranscriptMessage
impl Clone for SessionTranscriptMessage
Source§fn clone(&self) -> SessionTranscriptMessage
fn clone(&self) -> SessionTranscriptMessage
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 SessionTranscriptMessage
impl Debug for SessionTranscriptMessage
Source§impl<'de> Deserialize<'de> for SessionTranscriptMessage
impl<'de> Deserialize<'de> for SessionTranscriptMessage
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 SessionTranscriptMessage
impl RefUnwindSafe for SessionTranscriptMessage
impl Send for SessionTranscriptMessage
impl Sync for SessionTranscriptMessage
impl Unpin for SessionTranscriptMessage
impl UnwindSafe for SessionTranscriptMessage
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