pub struct ShellOpened {
pub shell: u64,
pub name: String,
pub relay_session: Option<String>,
pub commands: bool,
}Expand description
An opened shell: what the app names it by on the connection, and what the runtime said of it.
Fields§
§shell: u64The shell’s id on this connection.
name: StringThe program at its prompt (ush, host).
relay_session: Option<String>The hosted session it is, to come back to.
commands: boolWhether the shell marks its command lines with the key the open named.
Trait Implementations§
Source§impl Clone for ShellOpened
impl Clone for ShellOpened
Source§impl Debug for ShellOpened
impl Debug for ShellOpened
Source§impl Default for ShellOpened
impl Default for ShellOpened
Source§impl<'de> Deserialize<'de> for ShellOpened
impl<'de> Deserialize<'de> for ShellOpened
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 ShellOpened
Source§impl PartialEq for ShellOpened
impl PartialEq for ShellOpened
Source§impl Serialize for ShellOpened
impl Serialize for ShellOpened
impl StructuralPartialEq for ShellOpened
Auto Trait Implementations§
impl Forget for ShellOpened
impl Freeze for ShellOpened
impl Move for ShellOpened
impl RefUnwindSafe for ShellOpened
impl Send for ShellOpened
impl Sync for ShellOpened
impl Unpin for ShellOpened
impl UnsafeUnpin for ShellOpened
impl UnwindSafe for ShellOpened
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more