pub struct DeploymentState {
pub placed_canaries: Option<Vec<String>>,
pub auto_revert: Option<bool>,
pub progress_deadline: Option<i64>,
pub require_progress_by: Option<String>,
pub promoted: Option<bool>,
pub desired_canaries: Option<i32>,
pub desired_total: Option<i32>,
pub placed_allocs: Option<i32>,
pub healthy_allocs: Option<i32>,
pub unhealthy_allocs: Option<i32>,
}
Fields§
§placed_canaries: Option<Vec<String>>
§auto_revert: Option<bool>
§progress_deadline: Option<i64>
§require_progress_by: Option<String>
§promoted: Option<bool>
§desired_canaries: Option<i32>
§desired_total: Option<i32>
§placed_allocs: Option<i32>
§healthy_allocs: Option<i32>
§unhealthy_allocs: Option<i32>
Implementations§
Source§impl DeploymentState
impl DeploymentState
pub fn new() -> DeploymentState
Trait Implementations§
Source§impl Clone for DeploymentState
impl Clone for DeploymentState
Source§fn clone(&self) -> DeploymentState
fn clone(&self) -> DeploymentState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeploymentState
impl Debug for DeploymentState
Source§impl<'de> Deserialize<'de> for DeploymentState
impl<'de> Deserialize<'de> for DeploymentState
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 DeploymentState
impl PartialEq for DeploymentState
Source§impl Serialize for DeploymentState
impl Serialize for DeploymentState
impl StructuralPartialEq for DeploymentState
Auto Trait Implementations§
impl Freeze for DeploymentState
impl RefUnwindSafe for DeploymentState
impl Send for DeploymentState
impl Sync for DeploymentState
impl Unpin for DeploymentState
impl UnwindSafe for DeploymentState
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