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 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 Compare for RatioRange
impl Compare for RatioRange
Source§impl Convert for RatioRange
impl Convert for RatioRange
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§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
Source§impl Executor for RatioRange
impl Executor for RatioRange
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
Source§impl Serialize for RatioRange
impl Serialize for RatioRange
impl DataType for RatioRange
Auto Trait Implementations§
impl Freeze for RatioRange
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