pub struct PresenceAgent {
pub name: String,
pub kind: String,
pub state: Option<String>,
pub line: Option<String>,
}Expand description
One agent of the install. kind is host or container (the agent’s
block agentMode); state (v2 and later) is one of PRESENCE_STATES,
or absent when unknown; line (v4 only) is its summary line, or absent.
Fields§
§name: String§kind: String§state: Option<String>§line: Option<String>Trait Implementations§
Source§impl Clone for PresenceAgent
impl Clone for PresenceAgent
Source§fn clone(&self) -> PresenceAgent
fn clone(&self) -> PresenceAgent
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 PresenceAgent
impl Debug for PresenceAgent
Source§impl Default for PresenceAgent
impl Default for PresenceAgent
Source§fn default() -> PresenceAgent
fn default() -> PresenceAgent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresenceAgent
impl<'de> Deserialize<'de> for PresenceAgent
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 PresenceAgent
Source§impl PartialEq for PresenceAgent
impl PartialEq for PresenceAgent
Source§impl Serialize for PresenceAgent
impl Serialize for PresenceAgent
impl StructuralPartialEq for PresenceAgent
Auto Trait Implementations§
impl Freeze for PresenceAgent
impl RefUnwindSafe for PresenceAgent
impl Send for PresenceAgent
impl Sync for PresenceAgent
impl Unpin for PresenceAgent
impl UnsafeUnpin for PresenceAgent
impl UnwindSafe for PresenceAgent
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