pub struct AddressCheck {
pub outcome: Outcome,
pub host: String,
pub status: Option<u16>,
pub oauth: Option<OAuthInfo>,
pub detail: String,
}Expand description
The result of a check.
Fields§
§outcome: Outcome§host: StringThe host (with a non-default port) the check contacts.
status: Option<u16>The HTTP status of the MCP request’s answer, when there was one.
oauth: Option<OAuthInfo>§detail: StringWhat happened, in English (no secret: the check sends none).
Trait Implementations§
Source§impl Clone for AddressCheck
impl Clone for AddressCheck
Source§impl Debug for AddressCheck
impl Debug for AddressCheck
impl Eq for AddressCheck
Source§impl PartialEq for AddressCheck
impl PartialEq for AddressCheck
impl StructuralPartialEq for AddressCheck
Auto Trait Implementations§
impl Forget for AddressCheck
impl Freeze for AddressCheck
impl Move for AddressCheck
impl RefUnwindSafe for AddressCheck
impl Send for AddressCheckwhere
RawVecInner: Send,
impl Sync for AddressCheckwhere
RawVecInner: Sync,
impl Unpin for AddressCheck
impl UnsafeUnpin for AddressCheck
impl UnwindSafe for AddressCheckwhere
RawVecInner: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.