pub enum ZoneDocHostHealth {
Mode(String),
Legacy(bool),
}Expand description
host_health of a ZoneDocRecord. Core exports a mode label; documents exported
before 2026-10-28 carry a boolean, which Core still imports.
Variants§
Mode(String)
Up, Down or Auto (see HostHealthMode; kept
as a string for forward compatibility). Auto needs a health_check.
Legacy(bool)
An old document’s value: Core imports a record with an enabled health check as
Auto, otherwise true/false as Up/Down.
Trait Implementations§
Source§impl Clone for ZoneDocHostHealth
impl Clone for ZoneDocHostHealth
Source§fn clone(&self) -> ZoneDocHostHealth
fn clone(&self) -> ZoneDocHostHealth
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 ZoneDocHostHealth
impl Debug for ZoneDocHostHealth
Source§impl<'de> Deserialize<'de> for ZoneDocHostHealth
impl<'de> Deserialize<'de> for ZoneDocHostHealth
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
impl Eq for ZoneDocHostHealth
Source§impl PartialEq for ZoneDocHostHealth
impl PartialEq for ZoneDocHostHealth
Source§impl Serialize for ZoneDocHostHealth
impl Serialize for ZoneDocHostHealth
impl StructuralPartialEq for ZoneDocHostHealth
Auto Trait Implementations§
impl Freeze for ZoneDocHostHealth
impl RefUnwindSafe for ZoneDocHostHealth
impl Send for ZoneDocHostHealth
impl Sync for ZoneDocHostHealth
impl Unpin for ZoneDocHostHealth
impl UnsafeUnpin for ZoneDocHostHealth
impl UnwindSafe for ZoneDocHostHealth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.