pub struct NodeDrainUpdateResponse {
pub node_modify_index: u64,
pub eval_i_ds: Vec<String>,
pub eval_create_index: u64,
}
Expand description
NodeDrainUpdateResponse is used to respond to a node drain update
This struct was generated based on the Go types of the official Nomad API.
Fields§
§node_modify_index: u64
§eval_i_ds: Vec<String>
§eval_create_index: u64
Trait Implementations§
Source§impl Clone for NodeDrainUpdateResponse
impl Clone for NodeDrainUpdateResponse
Source§fn clone(&self) -> NodeDrainUpdateResponse
fn clone(&self) -> NodeDrainUpdateResponse
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 NodeDrainUpdateResponse
impl Debug for NodeDrainUpdateResponse
Source§impl Default for NodeDrainUpdateResponse
impl Default for NodeDrainUpdateResponse
Source§fn default() -> NodeDrainUpdateResponse
fn default() -> NodeDrainUpdateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeDrainUpdateResponse
impl<'de> Deserialize<'de> for NodeDrainUpdateResponse
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 NodeDrainUpdateResponse
impl PartialEq for NodeDrainUpdateResponse
Source§impl Serialize for NodeDrainUpdateResponse
impl Serialize for NodeDrainUpdateResponse
impl StructuralPartialEq for NodeDrainUpdateResponse
Auto Trait Implementations§
impl Freeze for NodeDrainUpdateResponse
impl RefUnwindSafe for NodeDrainUpdateResponse
impl Send for NodeDrainUpdateResponse
impl Sync for NodeDrainUpdateResponse
impl Unpin for NodeDrainUpdateResponse
impl UnwindSafe for NodeDrainUpdateResponse
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