Struct nomad_client::models::job_plan_request::JobPlanRequest
source · pub struct JobPlanRequest {
pub job: Option<Box<Job>>,
pub diff: Option<bool>,
pub policy_override: Option<bool>,
}
Fields§
§job: Option<Box<Job>>
§diff: Option<bool>
§policy_override: Option<bool>
Implementations§
source§impl JobPlanRequest
impl JobPlanRequest
pub fn new(job: Option<Job>) -> JobPlanRequest
Trait Implementations§
source§impl Clone for JobPlanRequest
impl Clone for JobPlanRequest
source§fn clone(&self) -> JobPlanRequest
fn clone(&self) -> JobPlanRequest
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 JobPlanRequest
impl Debug for JobPlanRequest
source§impl<'de> Deserialize<'de> for JobPlanRequest
impl<'de> Deserialize<'de> for JobPlanRequest
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<JobPlanRequest> for JobPlanRequest
impl PartialEq<JobPlanRequest> for JobPlanRequest
source§fn eq(&self, other: &JobPlanRequest) -> bool
fn eq(&self, other: &JobPlanRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.