pub struct StatusCheck {
pub ok: bool,
pub authenticated_as: Option<String>,
pub error: Option<String>,
}Fields§
§ok: bool§authenticated_as: Option<String>§error: Option<String>Trait Implementations§
Source§impl Clone for StatusCheck
impl Clone for StatusCheck
Source§fn clone(&self) -> StatusCheck
fn clone(&self) -> StatusCheck
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 StatusCheck
impl Debug for StatusCheck
Source§impl Serialize for StatusCheck
impl Serialize for StatusCheck
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StatusCheck
impl RefUnwindSafe for StatusCheck
impl Send for StatusCheck
impl Sync for StatusCheck
impl Unpin for StatusCheck
impl UnsafeUnpin for StatusCheck
impl UnwindSafe for StatusCheck
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