pub enum ElementDefinitionMaxValue {
Date(Date),
DateTime(DateTime),
Instant(Instant),
Time(Time),
Decimal(f64),
Integer(i32),
Integer64(Integer64),
PositiveInt(NonZero<u32>),
UnsignedInt(u32),
Quantity(Quantity),
}
Expand description
Choice of types for the maxValue[x] field in ElementDefinition
Variants§
Date(Date)
Variant accepting the Date type.
DateTime(DateTime)
Variant accepting the DateTime type.
Instant(Instant)
Variant accepting the Instant type.
Time(Time)
Variant accepting the Time type.
Decimal(f64)
Variant accepting the Decimal type.
Integer(i32)
Variant accepting the Integer type.
Integer64(Integer64)
Variant accepting the Integer64 type.
PositiveInt(NonZero<u32>)
Variant accepting the PositiveInt type.
UnsignedInt(u32)
Variant accepting the UnsignedInt type.
Quantity(Quantity)
Variant accepting the Quantity type.
Trait Implementations§
Source§impl Clone for ElementDefinitionMaxValue
impl Clone for ElementDefinitionMaxValue
Source§fn clone(&self) -> ElementDefinitionMaxValue
fn clone(&self) -> ElementDefinitionMaxValue
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 ElementDefinitionMaxValue
impl Debug for ElementDefinitionMaxValue
Source§impl<'de> Deserialize<'de> for ElementDefinitionMaxValue
impl<'de> Deserialize<'de> for ElementDefinitionMaxValue
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementDefinitionMaxValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementDefinitionMaxValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ElementDefinitionMaxValue
impl Serialize for ElementDefinitionMaxValue
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ElementDefinitionMaxValue
Auto Trait Implementations§
impl Freeze for ElementDefinitionMaxValue
impl RefUnwindSafe for ElementDefinitionMaxValue
impl Send for ElementDefinitionMaxValue
impl Sync for ElementDefinitionMaxValue
impl Unpin for ElementDefinitionMaxValue
impl UnwindSafe for ElementDefinitionMaxValue
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