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