pub enum DoctorState {
Present {
at: String,
version: DoctorVersion,
},
Broken {
at: String,
fault: DoctorFault,
},
Absent {
absence: DoctorAbsence,
},
}Expand description
Whether the item is here, and in what condition.
Variants§
Present
Here, and it started when asked its version.
Broken
Here, and unusable. Counts as missing for a verdict, and as its own fault for a person.
Absent
Fields
§
absence: DoctorAbsenceTrait Implementations§
Source§impl Clone for DoctorState
impl Clone for DoctorState
Source§impl Debug for DoctorState
impl Debug for DoctorState
Source§impl<'de> Deserialize<'de> for DoctorState
impl<'de> Deserialize<'de> for DoctorState
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
impl Eq for DoctorState
Source§impl PartialEq for DoctorState
impl PartialEq for DoctorState
Source§impl Serialize for DoctorState
impl Serialize for DoctorState
impl StructuralPartialEq for DoctorState
Auto Trait Implementations§
impl Freeze for DoctorState
impl RefUnwindSafe for DoctorState
impl Send for DoctorState
impl Sync for DoctorState
impl Unpin for DoctorState
impl UnsafeUnpin for DoctorState
impl UnwindSafe for DoctorState
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