pub enum HealthCheckFrequencyStrategy {
Minutely,
Hourly,
Daily,
Weekly,
Monthly,
Custom(Duration),
}Expand description
How often to poll a catalog’s health endpoint.
YAML accepts a named variant (minutely, hourly, …) or a
Custom duration string like "15s", "30m", "2h".
Variants§
Implementations§
Source§impl HealthCheckFrequencyStrategy
impl HealthCheckFrequencyStrategy
pub fn as_duration(&self) -> Duration
Trait Implementations§
Source§impl Clone for HealthCheckFrequencyStrategy
impl Clone for HealthCheckFrequencyStrategy
Source§fn clone(&self) -> HealthCheckFrequencyStrategy
fn clone(&self) -> HealthCheckFrequencyStrategy
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 HealthCheckFrequencyStrategy
impl Debug for HealthCheckFrequencyStrategy
Source§impl Default for HealthCheckFrequencyStrategy
impl Default for HealthCheckFrequencyStrategy
Source§fn default() -> HealthCheckFrequencyStrategy
fn default() -> HealthCheckFrequencyStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HealthCheckFrequencyStrategy
impl<'de> Deserialize<'de> for HealthCheckFrequencyStrategy
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HealthCheckFrequencyStrategy
impl PartialEq for HealthCheckFrequencyStrategy
Source§fn eq(&self, other: &HealthCheckFrequencyStrategy) -> bool
fn eq(&self, other: &HealthCheckFrequencyStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HealthCheckFrequencyStrategy
Auto Trait Implementations§
impl Freeze for HealthCheckFrequencyStrategy
impl RefUnwindSafe for HealthCheckFrequencyStrategy
impl Send for HealthCheckFrequencyStrategy
impl Sync for HealthCheckFrequencyStrategy
impl Unpin for HealthCheckFrequencyStrategy
impl UnsafeUnpin for HealthCheckFrequencyStrategy
impl UnwindSafe for HealthCheckFrequencyStrategy
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