pub struct TerminalHandOff {
pub id: Uuid,
pub reason: String,
pub terminal: u16,
pub secret: bool,
}Expand description
A terminal hand-off: a session asking the person at a client to type into the seat’s terminal before it can carry on.
Fields§
§id: Uuid§reason: StringWhat the session needs done, in its own words.
terminal: u16The terminal the person is asked to look at.
secret: boolWhether the program is reading a secret (ECHO off), so the card can say the typing is hidden.
Trait Implementations§
Source§impl Clone for TerminalHandOff
impl Clone for TerminalHandOff
Source§impl Debug for TerminalHandOff
impl Debug for TerminalHandOff
Source§impl<'de> Deserialize<'de> for TerminalHandOff
impl<'de> Deserialize<'de> for TerminalHandOff
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 TerminalHandOff
Source§impl PartialEq for TerminalHandOff
impl PartialEq for TerminalHandOff
Source§impl Serialize for TerminalHandOff
impl Serialize for TerminalHandOff
impl StructuralPartialEq for TerminalHandOff
Auto Trait Implementations§
impl Freeze for TerminalHandOff
impl RefUnwindSafe for TerminalHandOff
impl Send for TerminalHandOff
impl Sync for TerminalHandOff
impl Unpin for TerminalHandOff
impl UnsafeUnpin for TerminalHandOff
impl UnwindSafe for TerminalHandOff
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.