pub struct Coded {
pub system: Option<String>,
pub code: String,
}Expand description
A coded value, such as a professional role: a code and the system that defines it.
Fields§
§system: Option<String>The code system, when one is named.
code: StringThe code.
Trait Implementations§
impl Eq for Coded
Source§impl Ord for Coded
impl Ord for Coded
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Coded
impl PartialOrd for Coded
impl StructuralPartialEq for Coded
Auto Trait Implementations§
impl Freeze for Coded
impl RefUnwindSafe for Coded
impl Send for Coded
impl Sync for Coded
impl Unpin for Coded
impl UnsafeUnpin for Coded
impl UnwindSafe for Coded
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