pub struct ProjectDeployRestartPolicy { /* private fields */ }Expand description
Effective deploy restart-policy members with independent provenance.
Implementations§
Source§impl ProjectDeployRestartPolicy
impl ProjectDeployRestartPolicy
Sourcepub const fn condition(&self) -> Option<&ProjectValue<DeployRestartCondition>>
pub const fn condition(&self) -> Option<&ProjectValue<DeployRestartCondition>>
Returns the effective restart condition.
Sourcepub const fn delay(&self) -> Option<&ProjectValue<DeployRestartDuration>>
pub const fn delay(&self) -> Option<&ProjectValue<DeployRestartDuration>>
Returns the effective raw delay spelling.
Sourcepub const fn max_attempts(
&self,
) -> Option<&ProjectValue<DeployRestartMaxAttempts>>
pub const fn max_attempts( &self, ) -> Option<&ProjectValue<DeployRestartMaxAttempts>>
Returns the effective maximum-attempts scalar.
Sourcepub const fn window(&self) -> Option<&ProjectValue<DeployRestartDuration>>
pub const fn window(&self) -> Option<&ProjectValue<DeployRestartDuration>>
Returns the effective raw window spelling.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns malformed and unknown retained members.
Trait Implementations§
Source§impl Clone for ProjectDeployRestartPolicy
impl Clone for ProjectDeployRestartPolicy
Source§fn clone(&self) -> ProjectDeployRestartPolicy
fn clone(&self) -> ProjectDeployRestartPolicy
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 ProjectDeployRestartPolicy
impl Debug for ProjectDeployRestartPolicy
impl Eq for ProjectDeployRestartPolicy
impl StructuralPartialEq for ProjectDeployRestartPolicy
Auto Trait Implementations§
impl Freeze for ProjectDeployRestartPolicy
impl RefUnwindSafe for ProjectDeployRestartPolicy
impl Send for ProjectDeployRestartPolicy
impl Sync for ProjectDeployRestartPolicy
impl Unpin for ProjectDeployRestartPolicy
impl UnsafeUnpin for ProjectDeployRestartPolicy
impl UnwindSafe for ProjectDeployRestartPolicy
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