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