pub struct NodeListStub {Show 18 fields
pub scheduling_eligibility: String,
pub status: String,
pub create_index: u64,
pub attributes: Option<HashMap<String, String>>,
pub drain: bool,
pub node_class: String,
pub node_pool: String,
pub version: String,
pub node_resources: Option<NodeResources>,
pub modify_index: u64,
pub id: String,
pub datacenter: String,
pub status_description: String,
pub drivers: HashMap<String, DriverInfo>,
pub reserved_resources: Option<NodeReservedResources>,
pub last_drain: Option<DrainMetadata>,
pub address: String,
pub name: String,
}
Expand description
NodeListStub is a subset of information returned during node list operations.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§scheduling_eligibility: String
§status: String
§create_index: u64
§attributes: Option<HashMap<String, String>>
§drain: bool
§node_class: String
§node_pool: String
§version: String
§node_resources: Option<NodeResources>
§modify_index: u64
§id: String
§datacenter: String
§status_description: String
§drivers: HashMap<String, DriverInfo>
§reserved_resources: Option<NodeReservedResources>
§last_drain: Option<DrainMetadata>
§address: String
§name: String
Trait Implementations§
Source§impl Clone for NodeListStub
impl Clone for NodeListStub
Source§fn clone(&self) -> NodeListStub
fn clone(&self) -> NodeListStub
Returns a copy of the value. Read more
1.0.0 · 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 NodeListStub
impl Debug for NodeListStub
Source§impl<'de> Deserialize<'de> for NodeListStub
impl<'de> Deserialize<'de> for NodeListStub
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
Source§impl PartialEq for NodeListStub
impl PartialEq for NodeListStub
Source§impl Serialize for NodeListStub
impl Serialize for NodeListStub
impl StructuralPartialEq for NodeListStub
Auto Trait Implementations§
impl Freeze for NodeListStub
impl RefUnwindSafe for NodeListStub
impl Send for NodeListStub
impl Sync for NodeListStub
impl Unpin for NodeListStub
impl UnwindSafe for NodeListStub
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