pub struct GlobalSession {Show 20 fields
pub agent: Option<String>,
pub cost: Option<f64>,
pub directory: String,
pub id: String,
pub metadata: Option<Map<String, Value>>,
pub model: Option<SessionCreateParamsModel>,
pub parent_id: Option<String>,
pub path: Option<String>,
pub permission: Option<PermissionRuleset>,
pub project: Option<ProjectSummary>,
pub project_id: String,
pub revert: Option<SessionRevert>,
pub share: Option<SessionShare>,
pub slug: String,
pub summary: Option<SessionSummary>,
pub time: SessionTime,
pub title: String,
pub tokens: Option<SessionNextStepEndedDataTokens>,
pub version: String,
pub workspace_id: Option<String>,
}Fields§
§agent: Option<String>§cost: Option<f64>§directory: String§id: String§metadata: Option<Map<String, Value>>§model: Option<SessionCreateParamsModel>§parent_id: Option<String>§path: Option<String>§permission: Option<PermissionRuleset>§project: Option<ProjectSummary>§project_id: String§revert: Option<SessionRevert>§slug: String§summary: Option<SessionSummary>§time: SessionTime§title: String§tokens: Option<SessionNextStepEndedDataTokens>§version: String§workspace_id: Option<String>Trait Implementations§
Source§impl Clone for GlobalSession
impl Clone for GlobalSession
Source§fn clone(&self) -> GlobalSession
fn clone(&self) -> GlobalSession
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 GlobalSession
impl Debug for GlobalSession
Source§impl<'de> Deserialize<'de> for GlobalSession
impl<'de> Deserialize<'de> for GlobalSession
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 GlobalSession
impl PartialEq for GlobalSession
Source§impl Serialize for GlobalSession
impl Serialize for GlobalSession
impl StructuralPartialEq for GlobalSession
Auto Trait Implementations§
impl Freeze for GlobalSession
impl RefUnwindSafe for GlobalSession
impl Send for GlobalSession
impl Sync for GlobalSession
impl Unpin for GlobalSession
impl UnsafeUnpin for GlobalSession
impl UnwindSafe for GlobalSession
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