pub struct ProjectHealthcheck { /* private fields */ }Expand description
One effective service health check with field-level merge provenance.
Implementations§
Source§impl ProjectHealthcheck
impl ProjectHealthcheck
Sourcepub const fn test(&self) -> Option<&ProjectValue<HealthcheckTest>>
pub const fn test(&self) -> Option<&ProjectValue<HealthcheckTest>>
Returns the effective health command without collapsing scalar and list forms.
Sourcepub const fn interval(&self) -> Option<&ProjectValue<HealthcheckDuration>>
pub const fn interval(&self) -> Option<&ProjectValue<HealthcheckDuration>>
Returns the effective regular-check interval.
Sourcepub const fn timeout(&self) -> Option<&ProjectValue<HealthcheckDuration>>
pub const fn timeout(&self) -> Option<&ProjectValue<HealthcheckDuration>>
Returns the effective per-check timeout.
Sourcepub const fn retries(&self) -> Option<&ProjectValue<HealthcheckRetries>>
pub const fn retries(&self) -> Option<&ProjectValue<HealthcheckRetries>>
Returns the effective unhealthy retry count.
Sourcepub const fn start_period(&self) -> Option<&ProjectValue<HealthcheckDuration>>
pub const fn start_period(&self) -> Option<&ProjectValue<HealthcheckDuration>>
Returns the effective startup grace period.
Sourcepub const fn start_interval(&self) -> Option<&ProjectValue<HealthcheckDuration>>
pub const fn start_interval(&self) -> Option<&ProjectValue<HealthcheckDuration>>
Returns the effective interval used during the startup grace period.
Sourcepub const fn disable(&self) -> Option<&ProjectValue<BooleanValue>>
pub const fn disable(&self) -> Option<&ProjectValue<BooleanValue>>
Returns whether the image health check is explicitly disabled.
Sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Reports whether the effective definition explicitly disables health checks.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns retained health-check fields outside the typed project-view boundary.
Trait Implementations§
Source§impl Clone for ProjectHealthcheck
impl Clone for ProjectHealthcheck
Source§fn clone(&self) -> ProjectHealthcheck
fn clone(&self) -> ProjectHealthcheck
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 ProjectHealthcheck
impl Debug for ProjectHealthcheck
impl Eq for ProjectHealthcheck
Source§impl PartialEq for ProjectHealthcheck
impl PartialEq for ProjectHealthcheck
impl StructuralPartialEq for ProjectHealthcheck
Auto Trait Implementations§
impl Freeze for ProjectHealthcheck
impl RefUnwindSafe for ProjectHealthcheck
impl Send for ProjectHealthcheck
impl Sync for ProjectHealthcheck
impl Unpin for ProjectHealthcheck
impl UnsafeUnpin for ProjectHealthcheck
impl UnwindSafe for ProjectHealthcheck
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