pub struct JobDeployment {
pub id: String,
pub job_id: String,
pub job_version: u64,
pub status: Option<JobStatus>,
pub status_description: Option<String>,
}Expand description
A nomad job deployment , representing a single deployment of a job.
Fields§
§id: StringThe ID of the nomad job deployment.
job_id: StringThe ID of the nomad job .
job_version: u64Specifies the version of the job.
status: Option<JobStatus>The status of the job.
status_description: Option<String>The status description of the job.
Trait Implementations§
Source§impl Debug for JobDeployment
impl Debug for JobDeployment
Source§impl Default for JobDeployment
impl Default for JobDeployment
Source§impl<'de> Deserialize<'de> for JobDeployment
impl<'de> Deserialize<'de> for JobDeployment
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 JobDeployment
impl PartialEq for JobDeployment
Source§impl Serialize for JobDeployment
impl Serialize for JobDeployment
impl Eq for JobDeployment
impl StructuralPartialEq for JobDeployment
Auto Trait Implementations§
impl Freeze for JobDeployment
impl RefUnwindSafe for JobDeployment
impl Send for JobDeployment
impl Sync for JobDeployment
impl Unpin for JobDeployment
impl UnwindSafe for JobDeployment
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<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.