Struct nomad_client::models::node::Node[][src]

pub struct Node {
    pub ID: Option<String>,
    pub datacenter: Option<String>,
    pub name: Option<String>,
    pub http_addr: Option<String>,
    pub tls_enabled: Option<bool>,
    pub attributes: Option<HashMap<String, String>>,
    pub resources: Option<Box<Resources>>,
    pub reserved: Option<Box<Resources>>,
    pub node_resources: Option<Box<NodeResources>>,
    pub reserved_resources: Option<Box<NodeReservedResources>>,
    pub links: Option<HashMap<String, String>>,
    pub meta: Option<HashMap<String, String>>,
    pub node_class: Option<String>,
    pub drain: Option<bool>,
    pub drain_strategy: Option<Box<DrainStrategy>>,
    pub scheduling_eligibility: Option<String>,
    pub status: Option<String>,
    pub status_description: Option<String>,
    pub status_updated_at: Option<i64>,
    pub events: Option<Vec<NodeEvent>>,
    pub drivers: Option<HashMap<String, DriverInfo>>,
    pub host_volumes: Option<HashMap<String, HostVolumeInfo>>,
    pub csi_controller_plugins: Option<HashMap<String, CsiInfo>>,
    pub csi_node_plugins: Option<HashMap<String, CsiInfo>>,
    pub create_index: Option<i32>,
    pub modify_index: Option<i32>,
}

Fields

ID: Option<String>datacenter: Option<String>name: Option<String>http_addr: Option<String>tls_enabled: Option<bool>attributes: Option<HashMap<String, String>>resources: Option<Box<Resources>>reserved: Option<Box<Resources>>node_resources: Option<Box<NodeResources>>reserved_resources: Option<Box<NodeReservedResources>>links: Option<HashMap<String, String>>meta: Option<HashMap<String, String>>node_class: Option<String>drain: Option<bool>drain_strategy: Option<Box<DrainStrategy>>scheduling_eligibility: Option<String>status: Option<String>status_description: Option<String>status_updated_at: Option<i64>events: Option<Vec<NodeEvent>>drivers: Option<HashMap<String, DriverInfo>>host_volumes: Option<HashMap<String, HostVolumeInfo>>csi_controller_plugins: Option<HashMap<String, CsiInfo>>csi_node_plugins: Option<HashMap<String, CsiInfo>>create_index: Option<i32>modify_index: Option<i32>

Implementations

impl Node[src]

pub fn new() -> Node[src]

Trait Implementations

impl Clone for Node[src]

impl Debug for Node[src]

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

impl PartialEq<Node> for Node[src]

impl Serialize for Node[src]

impl StructuralPartialEq for Node[src]

Auto Trait Implementations

impl RefUnwindSafe for Node

impl Send for Node

impl Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.