pub struct TemplateId {
pub root: String,
pub extension: Option<String>,
}Expand description
A template identifier: the root and extension of an II, as a profile’s
urn:hl7ii:root:extension identifier gives them.
Fields§
§root: String§extension: Option<String>Implementations§
Source§impl TemplateId
impl TemplateId
Sourcepub fn parse(identifier: &str) -> Option<TemplateId>
pub fn parse(identifier: &str) -> Option<TemplateId>
Reads urn:hl7ii:root:extension, urn:hl7ii:root or urn:oid:root.
Trait Implementations§
Source§impl Clone for TemplateId
impl Clone for TemplateId
Source§impl Debug for TemplateId
impl Debug for TemplateId
impl Eq for TemplateId
Source§impl Hash for TemplateId
impl Hash for TemplateId
Source§impl PartialEq for TemplateId
impl PartialEq for TemplateId
impl StructuralPartialEq for TemplateId
Auto Trait Implementations§
impl Freeze for TemplateId
impl RefUnwindSafe for TemplateId
impl Send for TemplateId
impl Sync for TemplateId
impl Unpin for TemplateId
impl UnsafeUnpin for TemplateId
impl UnwindSafe for TemplateId
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