Struct nomad_client::models::job::Job [−][src]
Fields
stop: Option<bool>region: Option<String>namespace: Option<String>ID: Option<String>parent_id: Option<String>name: Option<String>_type: Option<String>priority: Option<i32>all_at_once: Option<bool>datacenters: Option<Vec<String>>constraints: Option<Vec<Constraint>>affinities: Option<Vec<Affinity>>task_groups: Option<Vec<TaskGroup>>update: Option<Box<UpdateStrategy>>spreads: Option<Vec<Spread>>periodic: Option<Box<PeriodicConfig>>parameterized_job: Option<Box<ParameterizedJobConfig>>dispatched: Option<bool>payload: Option<String>reschedule: Option<Box<ReschedulePolicy>>migrate: Option<Box<MigrateStrategy>>meta: Option<HashMap<String, String>>consul_token: Option<String>vault_token: Option<String>status: Option<String>status_description: Option<String>stable: Option<bool>version: Option<i32>submit_time: Option<i64>create_index: Option<i32>modify_index: Option<i32>job_modify_index: Option<i32>Implementations
impl Job[src]
Trait Implementations
impl Clone for Job[src]
impl Debug for Job[src]
impl<'de> Deserialize<'de> for Job[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl PartialEq<Job> for Job[src]
impl Serialize for Job[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for Job[src]
Auto Trait Implementations
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,