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