pub struct DoctorCheck {
pub name: String,
pub status: Status,
pub detail: String,
}Expand description
One doctor check.
Field order is the serialized JSON key order and is contractual: the root
Cargo.toml enables serde_json’s preserve_order, so reordering these
fields would silently change rendered output.
Fields§
§name: String§status: Status§detail: StringTrait Implementations§
Source§impl Clone for DoctorCheck
impl Clone for DoctorCheck
Source§fn clone(&self) -> DoctorCheck
fn clone(&self) -> DoctorCheck
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 DoctorCheck
impl Debug for DoctorCheck
Source§impl PartialEq for DoctorCheck
impl PartialEq for DoctorCheck
Source§impl Serialize for DoctorCheck
impl Serialize for DoctorCheck
impl StructuralPartialEq for DoctorCheck
Auto Trait Implementations§
impl Freeze for DoctorCheck
impl RefUnwindSafe for DoctorCheck
impl Send for DoctorCheck
impl Sync for DoctorCheck
impl Unpin for DoctorCheck
impl UnsafeUnpin for DoctorCheck
impl UnwindSafe for DoctorCheck
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