pub struct WireSession {Show 17 fields
pub id: String,
pub slug: Option<String>,
pub version: Option<String>,
pub project_id: Option<String>,
pub directory: Option<String>,
pub workspace_root: Option<String>,
pub origin_workspace_root: Option<String>,
pub attached_from_workspace: Option<String>,
pub attached_to_workspace: Option<String>,
pub attach_timestamp_ms: Option<u64>,
pub attach_reason: Option<String>,
pub title: String,
pub time: Option<WireSessionTime>,
pub model: Option<WireModelSpec>,
pub provider: Option<String>,
pub environment: Option<HostRuntimeContext>,
pub messages: Vec<WireSessionMessage>,
}Fields§
§id: String§slug: Option<String>§version: Option<String>§project_id: Option<String>§directory: Option<String>§workspace_root: Option<String>§origin_workspace_root: Option<String>§attached_from_workspace: Option<String>§attached_to_workspace: Option<String>§attach_timestamp_ms: Option<u64>§attach_reason: Option<String>§title: String§time: Option<WireSessionTime>§model: Option<WireModelSpec>§provider: Option<String>§environment: Option<HostRuntimeContext>§messages: Vec<WireSessionMessage>Trait Implementations§
Source§impl Clone for WireSession
impl Clone for WireSession
Source§fn clone(&self) -> WireSession
fn clone(&self) -> WireSession
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 WireSession
impl Debug for WireSession
Source§impl<'de> Deserialize<'de> for WireSession
impl<'de> Deserialize<'de> for WireSession
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 From<Session> for WireSession
impl From<Session> for WireSession
Source§impl PartialEq for WireSession
impl PartialEq for WireSession
Source§impl Serialize for WireSession
impl Serialize for WireSession
impl StructuralPartialEq for WireSession
Auto Trait Implementations§
impl Freeze for WireSession
impl RefUnwindSafe for WireSession
impl Send for WireSession
impl Sync for WireSession
impl Unpin for WireSession
impl UnsafeUnpin for WireSession
impl UnwindSafe for WireSession
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