pub struct PrimitiveSchema {
pub name: &'static str,
pub base: Option<&'static str>,
}Expand description
One primitive type and the type it specializes.
Fields§
§name: &'static strThe type code (code, positiveInt).
base: Option<&'static str>The type its StructureDefinition.baseDefinition names
(https://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.baseDefinition):
another primitive (code specializes string), or the type at the
top of a primitive’s chain: Element until R4B, which the table
carries, and from R5 the abstract PrimitiveType, which it does not.
None when the definition names none.
Trait Implementations§
Source§impl Clone for PrimitiveSchema
impl Clone for PrimitiveSchema
impl Copy for PrimitiveSchema
Source§impl Debug for PrimitiveSchema
impl Debug for PrimitiveSchema
impl Eq for PrimitiveSchema
Source§impl PartialEq for PrimitiveSchema
impl PartialEq for PrimitiveSchema
impl StructuralPartialEq for PrimitiveSchema
Auto Trait Implementations§
impl Freeze for PrimitiveSchema
impl RefUnwindSafe for PrimitiveSchema
impl Send for PrimitiveSchema
impl Sync for PrimitiveSchema
impl Unpin for PrimitiveSchema
impl UnsafeUnpin for PrimitiveSchema
impl UnwindSafe for PrimitiveSchema
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