pub struct Identifiers { /* private fields */ }Expand description
The alternate identifiers, sorted by scheme then code.
Implementations§
Source§impl Identifiers
impl Identifiers
Sourcepub fn new(entries: Vec<(u64, String, Ordinal)>) -> Self
pub fn new(entries: Vec<(u64, String, Ordinal)>) -> Self
Builds the table from (scheme SCTID, code, concept) entries.
Sourcepub fn lookup(&self, scheme: u64, code: &str) -> Option<Ordinal>
pub fn lookup(&self, scheme: u64, code: &str) -> Option<Ordinal>
The concept identified by code in scheme.
Sourcepub fn read_from(input: &mut impl Read) -> Result<Self, IdentifiersError>
pub fn read_from(input: &mut impl Read) -> Result<Self, IdentifiersError>
Trait Implementations§
Source§impl Clone for Identifiers
impl Clone for Identifiers
Source§fn clone(&self) -> Identifiers
fn clone(&self) -> Identifiers
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 Identifiers
impl Debug for Identifiers
Source§impl Default for Identifiers
impl Default for Identifiers
Source§fn default() -> Identifiers
fn default() -> Identifiers
Returns the “default value” for a type. Read more
impl Eq for Identifiers
Source§impl PartialEq for Identifiers
impl PartialEq for Identifiers
impl StructuralPartialEq for Identifiers
Auto Trait Implementations§
impl Freeze for Identifiers
impl RefUnwindSafe for Identifiers
impl Send for Identifiers
impl Sync for Identifiers
impl Unpin for Identifiers
impl UnsafeUnpin for Identifiers
impl UnwindSafe for Identifiers
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