Struct fhir_rs::datatype::complex::RatioRange
source · pub struct RatioRange {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub low_numerator: Option<Quantity>,
pub high_numerator: Option<Quantity>,
pub denominator: Option<Quantity>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
low_numerator: Option<Quantity>
Low Numerator limit
high_numerator: Option<Quantity>
High Numerator limit
denominator: Option<Quantity>
Denominator value
Implementations§
source§impl RatioRange
impl RatioRange
pub fn set_low_numerator(self, v: Quantity) -> Self
pub fn set_high_numerator(self, v: Quantity) -> Self
pub fn set_denominator(self, v: Quantity) -> Self
Trait Implementations§
source§impl Clone for RatioRange
impl Clone for RatioRange
source§fn clone(&self) -> RatioRange
fn clone(&self) -> RatioRange
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 RatioRange
impl Debug for RatioRange
source§impl Default for RatioRange
impl Default for RatioRange
source§fn default() -> RatioRange
fn default() -> RatioRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RatioRange
impl<'de> Deserialize<'de> for RatioRange
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for RatioRange
impl Element for RatioRange
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 Serialize for RatioRange
impl Serialize for RatioRange
Auto Trait Implementations§
impl RefUnwindSafe for RatioRange
impl Send for RatioRange
impl Sync for RatioRange
impl Unpin for RatioRange
impl UnwindSafe for RatioRange
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