pub struct SessionSnapshot {Show 17 fields
pub instance_id: AgentInstanceId,
pub agent_id: AgentId,
pub transport: TransportKind,
pub generation: SessionGeneration,
pub status: SessionStatus,
pub pending_operation: Option<OperationId>,
pub pending_input: Option<PreparedInputKind>,
pub process_id: Option<u32>,
pub terminal_size: Option<TerminalSize>,
pub terminal_frame: Option<TerminalFrame>,
pub terminal_stale: Option<String>,
pub session_options: Option<SessionOptionSelection>,
pub capabilities: CapabilitySnapshot,
pub history: HistorySnapshot,
pub resume: ResumeSnapshot,
pub foreground: ForegroundSnapshot,
pub provider: ProviderSnapshot,
}Fields§
§instance_id: AgentInstanceId§agent_id: AgentId§transport: TransportKind§generation: SessionGeneration§status: SessionStatus§pending_operation: Option<OperationId>§pending_input: Option<PreparedInputKind>§process_id: Option<u32>§terminal_size: Option<TerminalSize>§terminal_frame: Option<TerminalFrame>§terminal_stale: Option<String>§session_options: Option<SessionOptionSelection>§capabilities: CapabilitySnapshot§history: HistorySnapshot§resume: ResumeSnapshot§foreground: ForegroundSnapshot§provider: ProviderSnapshotTrait Implementations§
Source§impl Clone for SessionSnapshot
impl Clone for SessionSnapshot
Source§fn clone(&self) -> SessionSnapshot
fn clone(&self) -> SessionSnapshot
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 SessionSnapshot
impl Debug for SessionSnapshot
Source§impl<'de> Deserialize<'de> for SessionSnapshot
impl<'de> Deserialize<'de> for SessionSnapshot
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
impl Eq for SessionSnapshot
Source§impl PartialEq for SessionSnapshot
impl PartialEq for SessionSnapshot
Source§impl Serialize for SessionSnapshot
impl Serialize for SessionSnapshot
impl StructuralPartialEq for SessionSnapshot
Auto Trait Implementations§
impl Freeze for SessionSnapshot
impl RefUnwindSafe for SessionSnapshot
impl Send for SessionSnapshot
impl Sync for SessionSnapshot
impl Unpin for SessionSnapshot
impl UnsafeUnpin for SessionSnapshot
impl UnwindSafe for SessionSnapshot
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