pub struct HarnessRuntimeSessionV1 {
pub instance_id: u64,
pub generation: u64,
pub provider: String,
pub transport: HarnessRuntimeTransportV1,
pub status: HarnessRuntimeSessionStatusV1,
pub process_id: Option<u32>,
pub terminal_size: Option<HarnessRuntimeTerminalSizeV1>,
pub operation_pending: bool,
pub input_pending: bool,
pub screen_state: Option<PtyScreenStateV1>,
}Fields§
§instance_id: u64§generation: u64§provider: String§transport: HarnessRuntimeTransportV1§status: HarnessRuntimeSessionStatusV1§process_id: Option<u32>§terminal_size: Option<HarnessRuntimeTerminalSizeV1>§operation_pending: bool§input_pending: bool§screen_state: Option<PtyScreenStateV1>The node’s current screen classification. Always populated by every
server on this wire – Unknown is a real classification, not an
absence marker – so Some is the only value ever actually sent;
Option-wrapped only so a decoder never has to special-case a
missing key.
Trait Implementations§
Source§impl Clone for HarnessRuntimeSessionV1
impl Clone for HarnessRuntimeSessionV1
Source§impl Debug for HarnessRuntimeSessionV1
impl Debug for HarnessRuntimeSessionV1
Source§impl<'de> Deserialize<'de> for HarnessRuntimeSessionV1
impl<'de> Deserialize<'de> for HarnessRuntimeSessionV1
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 HarnessRuntimeSessionV1
Source§impl PartialEq for HarnessRuntimeSessionV1
impl PartialEq for HarnessRuntimeSessionV1
Source§impl Serialize for HarnessRuntimeSessionV1
impl Serialize for HarnessRuntimeSessionV1
impl StructuralPartialEq for HarnessRuntimeSessionV1
Auto Trait Implementations§
impl Freeze for HarnessRuntimeSessionV1
impl RefUnwindSafe for HarnessRuntimeSessionV1
impl Send for HarnessRuntimeSessionV1
impl Sync for HarnessRuntimeSessionV1
impl Unpin for HarnessRuntimeSessionV1
impl UnsafeUnpin for HarnessRuntimeSessionV1
impl UnwindSafe for HarnessRuntimeSessionV1
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