pub struct DeployUpdateConfig { /* private fields */ }Expand description
A deploy rolling-update configuration with independent raw-preserving members.
Implementations§
Source§impl DeployUpdateConfig
impl DeployUpdateConfig
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete update-config mapping span.
Sourcepub const fn parallelism(&self) -> Option<&Located<DeployUpdateParallelism>>
pub const fn parallelism(&self) -> Option<&Located<DeployUpdateParallelism>>
Returns the raw update parallelism scalar.
Sourcepub const fn failure_action(&self) -> Option<&Located<String>>
pub const fn failure_action(&self) -> Option<&Located<String>>
Returns the raw update failure action.
Sourcepub const fn max_failure_ratio(
&self,
) -> Option<&Located<DeployUpdateMaxFailureRatio>>
pub const fn max_failure_ratio( &self, ) -> Option<&Located<DeployUpdateMaxFailureRatio>>
Returns the raw maximum failure ratio.
Sourcepub const fn order(&self) -> Option<&Located<DeployUpdateOrder>>
pub const fn order(&self) -> Option<&Located<DeployUpdateOrder>>
Returns the update order.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained update-config extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained update-config malformed or unknown fields.
Trait Implementations§
Source§impl Clone for DeployUpdateConfig
impl Clone for DeployUpdateConfig
Source§fn clone(&self) -> DeployUpdateConfig
fn clone(&self) -> DeployUpdateConfig
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 DeployUpdateConfig
impl Debug for DeployUpdateConfig
impl Eq for DeployUpdateConfig
Source§impl PartialEq for DeployUpdateConfig
impl PartialEq for DeployUpdateConfig
impl StructuralPartialEq for DeployUpdateConfig
Auto Trait Implementations§
impl Freeze for DeployUpdateConfig
impl RefUnwindSafe for DeployUpdateConfig
impl Send for DeployUpdateConfig
impl Sync for DeployUpdateConfig
impl Unpin for DeployUpdateConfig
impl UnsafeUnpin for DeployUpdateConfig
impl UnwindSafe for DeployUpdateConfig
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