pub struct SessionInfo {
pub name: String,
pub id: String,
pub running: bool,
pub size: Option<(u16, u16)>,
}Expand description
One of the machine’s sessions, as Command::List gives it.
Fields§
§name: StringIts name.
id: StringIts opaque ID: the channel it is served on when it runs, else its registry ID; empty for one running unregistered that holds no channel yet.
running: boolWhether its session process runs now.
size: Option<(u16, u16)>Its terminal’s size, columns and rows, when it runs (#135); None
from a machine older than the field.
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Source§impl Debug for SessionInfo
impl Debug for SessionInfo
Source§impl<'de> Deserialize<'de> for SessionInfo
impl<'de> Deserialize<'de> for SessionInfo
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 SessionInfo
Source§impl PartialEq for SessionInfo
impl PartialEq for SessionInfo
Source§impl Serialize for SessionInfo
impl Serialize for SessionInfo
impl StructuralPartialEq for SessionInfo
Auto Trait Implementations§
impl Forget for SessionInfo
impl Freeze for SessionInfo
impl Move for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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