pub struct NodeMetaResponse {
pub meta: HashMap<String, String>,
pub dynamic: HashMap<String, String>,
pub static: HashMap<String, String>,
}
Expand description
NodeMetaResponse contains the merged Node metadata.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§meta: HashMap<String, String>
Meta is the merged static + dynamic Node metadata
dynamic: HashMap<String, String>
Dynamic is the dynamic Node metadata (set via API)
static: HashMap<String, String>
Static is the static Node metadata (set via agent configuration)
Trait Implementations§
Source§impl Clone for NodeMetaResponse
impl Clone for NodeMetaResponse
Source§fn clone(&self) -> NodeMetaResponse
fn clone(&self) -> NodeMetaResponse
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 NodeMetaResponse
impl Debug for NodeMetaResponse
Source§impl Default for NodeMetaResponse
impl Default for NodeMetaResponse
Source§fn default() -> NodeMetaResponse
fn default() -> NodeMetaResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeMetaResponse
impl<'de> Deserialize<'de> for NodeMetaResponse
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 NodeMetaResponse
impl PartialEq for NodeMetaResponse
Source§impl Serialize for NodeMetaResponse
impl Serialize for NodeMetaResponse
impl StructuralPartialEq for NodeMetaResponse
Auto Trait Implementations§
impl Freeze for NodeMetaResponse
impl RefUnwindSafe for NodeMetaResponse
impl Send for NodeMetaResponse
impl Sync for NodeMetaResponse
impl Unpin for NodeMetaResponse
impl UnwindSafe for NodeMetaResponse
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