pub struct DeploymentUpdateResponse {
pub eval_id: String,
pub eval_create_index: u64,
pub deployment_modify_index: u64,
pub reverted_job_version: Option<u64>,
}
Expand description
DeploymentUpdateResponse is used to respond to a deployment change. The response will include the modify index of the deployment as well as details of any triggered evaluation.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§eval_id: String
§eval_create_index: u64
§deployment_modify_index: u64
§reverted_job_version: Option<u64>
Implementations§
Trait Implementations§
Source§impl Clone for DeploymentUpdateResponse
impl Clone for DeploymentUpdateResponse
Source§fn clone(&self) -> DeploymentUpdateResponse
fn clone(&self) -> DeploymentUpdateResponse
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 DeploymentUpdateResponse
impl Debug for DeploymentUpdateResponse
Source§impl Default for DeploymentUpdateResponse
impl Default for DeploymentUpdateResponse
Source§fn default() -> DeploymentUpdateResponse
fn default() -> DeploymentUpdateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentUpdateResponse
impl<'de> Deserialize<'de> for DeploymentUpdateResponse
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 DeploymentUpdateResponse
impl PartialEq for DeploymentUpdateResponse
Source§impl Serialize for DeploymentUpdateResponse
impl Serialize for DeploymentUpdateResponse
impl StructuralPartialEq for DeploymentUpdateResponse
Auto Trait Implementations§
impl Freeze for DeploymentUpdateResponse
impl RefUnwindSafe for DeploymentUpdateResponse
impl Send for DeploymentUpdateResponse
impl Sync for DeploymentUpdateResponse
impl Unpin for DeploymentUpdateResponse
impl UnwindSafe for DeploymentUpdateResponse
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