pub struct SessionV2Info {
pub agent: Option<String>,
pub cost: f64,
pub id: String,
pub location: LocationRef,
pub model: Option<ModelRef>,
pub parent_id: Option<String>,
pub project_id: String,
pub revert: Option<RevertState>,
pub subpath: Option<String>,
pub time: SessionV2InfoTime,
pub title: String,
pub tokens: SessionNextStepEndedDataTokens,
}Fields§
§agent: Option<String>§cost: f64§id: String§location: LocationRef§model: Option<ModelRef>§parent_id: Option<String>§project_id: String§revert: Option<RevertState>§subpath: Option<String>§time: SessionV2InfoTime§title: String§tokens: SessionNextStepEndedDataTokensTrait Implementations§
Source§impl Clone for SessionV2Info
impl Clone for SessionV2Info
Source§fn clone(&self) -> SessionV2Info
fn clone(&self) -> SessionV2Info
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionV2Info
impl Debug for SessionV2Info
Source§impl<'de> Deserialize<'de> for SessionV2Info
impl<'de> Deserialize<'de> for SessionV2Info
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
Source§impl PartialEq for SessionV2Info
impl PartialEq for SessionV2Info
Source§impl Serialize for SessionV2Info
impl Serialize for SessionV2Info
impl StructuralPartialEq for SessionV2Info
Auto Trait Implementations§
impl Freeze for SessionV2Info
impl RefUnwindSafe for SessionV2Info
impl Send for SessionV2Info
impl Sync for SessionV2Info
impl Unpin for SessionV2Info
impl UnsafeUnpin for SessionV2Info
impl UnwindSafe for SessionV2Info
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