pub struct Reachability {
pub configured: Option<bool>,
pub env: Option<String>,
pub error: Option<String>,
pub reachable: Option<bool>,
pub registrar: Option<String>,
pub service: Option<String>,
pub status: Option<String>,
}Fields§
§configured: Option<bool>Configured is whether the wholesale credentials are present at all.
env: Option<String>Env is the registrar environment. It is the fact that decides whether money moves: only "prod" reaches the live, billable registrar — anything else, including unset, is the sandbox.
error: Option<String>Error is the blocker, so an operator reads it instead of guessing at it.
reachable: Option<bool>Reachable is whether the registrar accepted those credentials on a live call made while the caller waited.
registrar: Option<String>Registrar names the wholesale registrar behind it.
service: Option<String>Service names the subsystem answering.
status: Option<String>Status is "ok" when a live call succeeded, else "degraded".
Implementations§
Source§impl Reachability
impl Reachability
pub fn new() -> Reachability
Trait Implementations§
Source§impl Clone for Reachability
impl Clone for Reachability
Source§fn clone(&self) -> Reachability
fn clone(&self) -> Reachability
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 Reachability
impl Debug for Reachability
Source§impl Default for Reachability
impl Default for Reachability
Source§fn default() -> Reachability
fn default() -> Reachability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Reachability
impl<'de> Deserialize<'de> for Reachability
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 Reachability
impl PartialEq for Reachability
Source§impl Serialize for Reachability
impl Serialize for Reachability
impl StructuralPartialEq for Reachability
Auto Trait Implementations§
impl Freeze for Reachability
impl RefUnwindSafe for Reachability
impl Send for Reachability
impl Sync for Reachability
impl Unpin for Reachability
impl UnsafeUnpin for Reachability
impl UnwindSafe for Reachability
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