pub struct ReadinessBody {
pub status: ReadinessStatus,
pub reason: Option<String>,
}Fields§
§status: ReadinessStatus§reason: Option<String>Trait Implementations§
Source§impl Clone for ReadinessBody
impl Clone for ReadinessBody
Source§fn clone(&self) -> ReadinessBody
fn clone(&self) -> ReadinessBody
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 ReadinessBody
impl Debug for ReadinessBody
Source§impl PartialEq for ReadinessBody
impl PartialEq for ReadinessBody
Source§fn eq(&self, other: &ReadinessBody) -> bool
fn eq(&self, other: &ReadinessBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReadinessBody
impl Serialize for ReadinessBody
impl Eq for ReadinessBody
impl StructuralPartialEq for ReadinessBody
Auto Trait Implementations§
impl Freeze for ReadinessBody
impl RefUnwindSafe for ReadinessBody
impl Send for ReadinessBody
impl Sync for ReadinessBody
impl Unpin for ReadinessBody
impl UnsafeUnpin for ReadinessBody
impl UnwindSafe for ReadinessBody
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<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.