pub struct PanelSession {
pub pid: u32,
pub agent: String,
pub cwd: String,
pub sock: String,
pub terminal_program: Option<String>,
pub proto_version: u32,
}Expand description
On-disk session record (<pid>.json) and Hello payload.
Fields§
§pid: u32§agent: String§cwd: String§sock: String§terminal_program: Option<String>§proto_version: u32Trait Implementations§
Source§impl Clone for PanelSession
impl Clone for PanelSession
Source§fn clone(&self) -> PanelSession
fn clone(&self) -> PanelSession
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 PanelSession
impl Debug for PanelSession
Source§impl<'de> Deserialize<'de> for PanelSession
impl<'de> Deserialize<'de> for PanelSession
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
Auto Trait Implementations§
impl Freeze for PanelSession
impl RefUnwindSafe for PanelSession
impl Send for PanelSession
impl Sync for PanelSession
impl Unpin for PanelSession
impl UnsafeUnpin for PanelSession
impl UnwindSafe for PanelSession
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