Struct fhir_rs::datatype::primitive::PositiveIntDt
source · pub struct PositiveIntDt {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub value: Option<PositiveInt>,
}
Expand description
正整数类型
1..2,147,483,647
Fields§
§id: Option<String>
xml:id (or equivalent in JSON)
extension: Option<Vec<Extension>>
Additional content defined by implementations
value: Option<PositiveInt>
Primitive value for positiveInt
Trait Implementations§
source§impl Clone for PositiveIntDt
impl Clone for PositiveIntDt
source§fn clone(&self) -> PositiveIntDt
fn clone(&self) -> PositiveIntDt
Returns a copy 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 PositiveIntDt
impl Debug for PositiveIntDt
source§impl<'de> Deserialize<'de> for PositiveIntDt
impl<'de> Deserialize<'de> for PositiveIntDt
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for PositiveIntDt
impl Element for PositiveIntDt
fn has_id(&self) -> bool
fn id(&self) -> &Option<String>
fn set_id<T: Into<String>>(self, id: T) -> Self
fn has_extension(&self) -> bool
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
source§impl From<i16> for PositiveIntDt
impl From<i16> for PositiveIntDt
source§impl From<i32> for PositiveIntDt
impl From<i32> for PositiveIntDt
source§impl From<i8> for PositiveIntDt
impl From<i8> for PositiveIntDt
source§impl From<u16> for PositiveIntDt
impl From<u16> for PositiveIntDt
source§impl From<u32> for PositiveIntDt
impl From<u32> for PositiveIntDt
source§impl From<u8> for PositiveIntDt
impl From<u8> for PositiveIntDt
source§impl FromStr for PositiveIntDt
impl FromStr for PositiveIntDt
source§impl Primitive for PositiveIntDt
impl Primitive for PositiveIntDt
source§impl Serialize for PositiveIntDt
impl Serialize for PositiveIntDt
Auto Trait Implementations§
impl RefUnwindSafe for PositiveIntDt
impl Send for PositiveIntDt
impl Sync for PositiveIntDt
impl Unpin for PositiveIntDt
impl UnwindSafe for PositiveIntDt
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