pub struct JobRegisterResponse {
pub eval_id: String,
pub eval_create_index: u64,
pub job_modify_index: u64,
}Expand description
The response from nomad for a create or update a job request. See also list_jobs
Fields§
§eval_id: StringThe ID of the evaluation for this request.
eval_create_index: u64Specifies the index of the current evaluation for this job.
job_modify_index: u64Specifies the job_modify_index to enforce the current job at.
Trait Implementations§
Source§impl Clone for JobRegisterResponse
impl Clone for JobRegisterResponse
Source§fn clone(&self) -> JobRegisterResponse
fn clone(&self) -> JobRegisterResponse
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 JobRegisterResponse
impl Debug for JobRegisterResponse
Source§impl Default for JobRegisterResponse
impl Default for JobRegisterResponse
Source§fn default() -> JobRegisterResponse
fn default() -> JobRegisterResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobRegisterResponse
impl<'de> Deserialize<'de> for JobRegisterResponse
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 JobRegisterResponse
impl PartialEq for JobRegisterResponse
Source§impl Serialize for JobRegisterResponse
impl Serialize for JobRegisterResponse
impl Eq for JobRegisterResponse
impl StructuralPartialEq for JobRegisterResponse
Auto Trait Implementations§
impl Freeze for JobRegisterResponse
impl RefUnwindSafe for JobRegisterResponse
impl Send for JobRegisterResponse
impl Sync for JobRegisterResponse
impl Unpin for JobRegisterResponse
impl UnwindSafe for JobRegisterResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.