pub struct AllocDeploymentStatus {
pub timestamp: DateTime<Utc>,
pub canary: bool,
pub modify_index: u64,
pub healthy: Option<bool>,
}
Expand description
AllocDeploymentStatus captures the status of the allocation as part of the deployment. This can include things like if the allocation has been marked as healthy.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§timestamp: DateTime<Utc>
§canary: bool
§modify_index: u64
§healthy: Option<bool>
Trait Implementations§
Source§impl Clone for AllocDeploymentStatus
impl Clone for AllocDeploymentStatus
Source§fn clone(&self) -> AllocDeploymentStatus
fn clone(&self) -> AllocDeploymentStatus
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 AllocDeploymentStatus
impl Debug for AllocDeploymentStatus
Source§impl Default for AllocDeploymentStatus
impl Default for AllocDeploymentStatus
Source§fn default() -> AllocDeploymentStatus
fn default() -> AllocDeploymentStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocDeploymentStatus
impl<'de> Deserialize<'de> for AllocDeploymentStatus
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 AllocDeploymentStatus
impl PartialEq for AllocDeploymentStatus
Source§impl Serialize for AllocDeploymentStatus
impl Serialize for AllocDeploymentStatus
impl StructuralPartialEq for AllocDeploymentStatus
Auto Trait Implementations§
impl Freeze for AllocDeploymentStatus
impl RefUnwindSafe for AllocDeploymentStatus
impl Send for AllocDeploymentStatus
impl Sync for AllocDeploymentStatus
impl Unpin for AllocDeploymentStatus
impl UnwindSafe for AllocDeploymentStatus
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