pub struct ForceLeaveOpts {
pub prune: bool,
}
Expand description
ForceLeaveOpts are used to configure the ForceLeave method.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§prune: bool
Prune indicates whether to remove a node from the list of members
Implementations§
Source§impl ForceLeaveOpts
impl ForceLeaveOpts
pub fn builder() -> ForceLeaveOptsBuilder
Trait Implementations§
Source§impl Clone for ForceLeaveOpts
impl Clone for ForceLeaveOpts
Source§fn clone(&self) -> ForceLeaveOpts
fn clone(&self) -> ForceLeaveOpts
Returns a duplicate 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 ForceLeaveOpts
impl Debug for ForceLeaveOpts
Source§impl Default for ForceLeaveOpts
impl Default for ForceLeaveOpts
Source§fn default() -> ForceLeaveOpts
fn default() -> ForceLeaveOpts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForceLeaveOpts
impl<'de> Deserialize<'de> for ForceLeaveOpts
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 ForceLeaveOpts
impl PartialEq for ForceLeaveOpts
Source§impl Serialize for ForceLeaveOpts
impl Serialize for ForceLeaveOpts
impl StructuralPartialEq for ForceLeaveOpts
Auto Trait Implementations§
impl Freeze for ForceLeaveOpts
impl RefUnwindSafe for ForceLeaveOpts
impl Send for ForceLeaveOpts
impl Sync for ForceLeaveOpts
impl Unpin for ForceLeaveOpts
impl UnwindSafe for ForceLeaveOpts
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