#[non_exhaustive]pub struct CustomCanaryDeployment {
pub phase_configs: Vec<PhaseConfig>,
/* private fields */
}
Expand description
CustomCanaryDeployment represents the custom canary deployment configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.phase_configs: Vec<PhaseConfig>
Required. Configuration for each phase in the canary deployment in the order executed.
Implementations§
Source§impl CustomCanaryDeployment
impl CustomCanaryDeployment
pub fn new() -> Self
Sourcepub fn set_phase_configs<T, V>(self, v: T) -> Self
pub fn set_phase_configs<T, V>(self, v: T) -> Self
Sets the value of phase_configs.
Trait Implementations§
Source§impl Clone for CustomCanaryDeployment
impl Clone for CustomCanaryDeployment
Source§fn clone(&self) -> CustomCanaryDeployment
fn clone(&self) -> CustomCanaryDeployment
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 CustomCanaryDeployment
impl Debug for CustomCanaryDeployment
Source§impl Default for CustomCanaryDeployment
impl Default for CustomCanaryDeployment
Source§fn default() -> CustomCanaryDeployment
fn default() -> CustomCanaryDeployment
Returns the “default value” for a type. Read more
Source§impl Message for CustomCanaryDeployment
impl Message for CustomCanaryDeployment
Source§impl PartialEq for CustomCanaryDeployment
impl PartialEq for CustomCanaryDeployment
impl StructuralPartialEq for CustomCanaryDeployment
Auto Trait Implementations§
impl Freeze for CustomCanaryDeployment
impl RefUnwindSafe for CustomCanaryDeployment
impl Send for CustomCanaryDeployment
impl Sync for CustomCanaryDeployment
impl Unpin for CustomCanaryDeployment
impl UnwindSafe for CustomCanaryDeployment
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