pub struct DeployRollbackConfig { /* private fields */ }Expand description
A deploy rollback configuration with independent raw-preserving members.
Implementations§
Source§impl DeployRollbackConfig
impl DeployRollbackConfig
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete rollback-config mapping span.
Sourcepub const fn parallelism(&self) -> Option<&Located<DeployRollbackParallelism>>
pub const fn parallelism(&self) -> Option<&Located<DeployRollbackParallelism>>
Returns the raw rollback parallelism scalar.
Sourcepub const fn monitor(&self) -> Option<&Located<String>>
pub const fn monitor(&self) -> Option<&Located<String>>
Returns the raw rollback monitor string.
Sourcepub const fn failure_action(&self) -> Option<&Located<String>>
pub const fn failure_action(&self) -> Option<&Located<String>>
Returns the raw rollback failure action.
Sourcepub const fn max_failure_ratio(
&self,
) -> Option<&Located<DeployRollbackMaxFailureRatio>>
pub const fn max_failure_ratio( &self, ) -> Option<&Located<DeployRollbackMaxFailureRatio>>
Returns the raw rollback maximum failure ratio.
Sourcepub const fn order(&self) -> Option<&Located<DeployRollbackOrder>>
pub const fn order(&self) -> Option<&Located<DeployRollbackOrder>>
Returns the rollback order.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained rollback-config extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained rollback-config malformed or unknown fields.
Trait Implementations§
Source§impl Clone for DeployRollbackConfig
impl Clone for DeployRollbackConfig
Source§fn clone(&self) -> DeployRollbackConfig
fn clone(&self) -> DeployRollbackConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeployRollbackConfig
impl Debug for DeployRollbackConfig
impl Eq for DeployRollbackConfig
Source§impl PartialEq for DeployRollbackConfig
impl PartialEq for DeployRollbackConfig
impl StructuralPartialEq for DeployRollbackConfig
Auto Trait Implementations§
impl Freeze for DeployRollbackConfig
impl RefUnwindSafe for DeployRollbackConfig
impl Send for DeployRollbackConfig
impl Sync for DeployRollbackConfig
impl Unpin for DeployRollbackConfig
impl UnsafeUnpin for DeployRollbackConfig
impl UnwindSafe for DeployRollbackConfig
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