[][src]Struct iml_wire_types::Host

pub struct Host {
    pub address: String,
    pub boot_time: Option<String>,
    pub client_mounts: Option<Vec<ClientMount>>,
    pub content_type_id: u32,
    pub corosync_configuration: Option<String>,
    pub corosync_ring0: String,
    pub fqdn: String,
    pub id: u32,
    pub immutable_state: bool,
    pub install_method: String,
    pub label: String,
    pub lnet_configuration: String,
    pub member_of_active_filesystem: bool,
    pub needs_update: bool,
    pub nids: Option<Vec<String>>,
    pub nodename: String,
    pub pacemaker_configuration: Option<String>,
    pub private_key: Option<String>,
    pub private_key_passphrase: Option<String>,
    pub properties: String,
    pub resource_uri: String,
    pub root_pw: Option<String>,
    pub server_profile: ServerProfile,
    pub state: String,
    pub state_modified_at: String,
}

A Host record from /api/host/

Fields

address: Stringboot_time: Option<String>client_mounts: Option<Vec<ClientMount>>content_type_id: u32corosync_configuration: Option<String>corosync_ring0: Stringfqdn: Stringid: u32immutable_state: boolinstall_method: Stringlabel: Stringlnet_configuration: Stringmember_of_active_filesystem: boolneeds_update: boolnids: Option<Vec<String>>nodename: Stringpacemaker_configuration: Option<String>private_key: Option<String>private_key_passphrase: Option<String>properties: Stringresource_uri: Stringroot_pw: Option<String>server_profile: ServerProfilestate: Stringstate_modified_at: String

Methods

impl Host[src]

pub fn lnet_id(&self) -> Option<u32>[src]

Get associated LNet configuration id

pub fn corosync_id(&self) -> Option<u32>[src]

Get associated Corosync configuration id

pub fn pacemaker_id(&self) -> Option<u32>[src]

Get associated Pacemaker configuration id

Trait Implementations

impl Clone for Host[src]

impl Debug for Host[src]

impl<'de> Deserialize<'de> for Host[src]

impl EndpointName for Host[src]

impl FlatQuery for Host[src]

impl Id for Host[src]

impl<'_> Id for &'_ Host[src]

impl Label for Host[src]

impl<'_> Label for &'_ Host[src]

impl PartialEq<Host> for Host[src]

impl Serialize for Host[src]

impl StructuralPartialEq for Host[src]

impl ToCompositeId for Host[src]

impl<'_> ToCompositeId for &'_ Host[src]

Auto Trait Implementations

impl RefUnwindSafe for Host

impl Send for Host

impl Sync for Host

impl Unpin for Host

impl UnwindSafe for Host

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> EndpointNameSelf for T where
    T: EndpointName
[src]

impl<T> ErasedRecord for T where
    T: ToCompositeId + Label + EndpointNameSelf + Id + Debug
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.