pub struct ListOutput {
pub name: String,
pub class: String,
pub leader: Option<ProcessId>,
}Expand description
Output parameters for the List method.
Only the fields monitord consumes are declared; serde drops the rest.
Fields§
§name: StringName of the machine, e.g. “testbox” or “.host”.
class: StringThe class of this machine: “container”, “vm” or “host”.
leader: Option<ProcessId>Leader process of this machine.
Trait Implementations§
Source§impl Clone for ListOutput
impl Clone for ListOutput
Source§fn clone(&self) -> ListOutput
fn clone(&self) -> ListOutput
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 ListOutput
impl Debug for ListOutput
Source§impl<'de> Deserialize<'de> for ListOutput
impl<'de> Deserialize<'de> for ListOutput
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
Auto Trait Implementations§
impl Freeze for ListOutput
impl RefUnwindSafe for ListOutput
impl Send for ListOutput
impl Sync for ListOutput
impl Unpin for ListOutput
impl UnsafeUnpin for ListOutput
impl UnwindSafe for ListOutput
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