pub struct MedicationName(/* private fields */);Expand description
Redacted medication name used to schedule administration work safely.
Implementations§
Source§impl MedicationName
impl MedicationName
pub fn into_inner(self) -> String
Trait Implementations§
Source§impl Clone for MedicationName
impl Clone for MedicationName
Source§fn clone(&self) -> MedicationName
fn clone(&self) -> MedicationName
Returns a duplicate of the value. Read more
1.0.0 · 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 MedicationName
impl Debug for MedicationName
Source§impl<'de> Deserialize<'de> for MedicationName
impl<'de> Deserialize<'de> for MedicationName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MedicationName
impl Hash for MedicationName
Source§impl Ord for MedicationName
impl Ord for MedicationName
Source§fn cmp(&self, other: &MedicationName) -> Ordering
fn cmp(&self, other: &MedicationName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MedicationName
impl PartialEq for MedicationName
Source§impl PartialOrd for MedicationName
impl PartialOrd for MedicationName
Source§impl Serialize for MedicationName
impl Serialize for MedicationName
impl Eq for MedicationName
impl StructuralPartialEq for MedicationName
Auto Trait Implementations§
impl Freeze for MedicationName
impl RefUnwindSafe for MedicationName
impl Send for MedicationName
impl Sync for MedicationName
impl Unpin for MedicationName
impl UnsafeUnpin for MedicationName
impl UnwindSafe for MedicationName
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