pub struct Caller {
pub name: Option<String>,
pub held: Option<String>,
pub agent: bool,
}Expand description
Who’s calling: the session it runs in, as that session was told, and whether an agent rather than a person typed the command, as well as the CLI can tell.
Fields§
§name: Option<String>The name its session was given (CELLIX_NAME).
held: Option<String>The socket of the host its session runs under (CELLIX_HELD).
agent: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Caller
impl<'de> Deserialize<'de> for Caller
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 Caller
impl StructuralPartialEq for Caller
Auto Trait Implementations§
impl Forget for Caller
impl Freeze for Caller
impl Move for Caller
impl RefUnwindSafe for Caller
impl Send for Caller
impl Sync for Caller
impl Unpin for Caller
impl UnsafeUnpin for Caller
impl UnwindSafe for Caller
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