pub enum PriceComponentType {
Base,
Deduction,
Discount,
Informational,
Surcharge,
Tax,
}Expand description
PriceComponentType. Codes indicating the kind of the price component.
FHIR version: 5.0.0.
Variants§
Base
base
base price. the amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
Deduction
deduction
deduction. the amount is a deduction applied on the base price.
Discount
discount
discount. the amount is a discount applied on the base price.
Informational
informational
informational. the amount is of informational character, it has not been applied in the calculation of the total price.
Surcharge
surcharge
surcharge. the amount is a surcharge applied on the base price.
Tax
tax
tax. the amount is the tax component of the total price.
Trait Implementations§
Source§impl AsRef<str> for PriceComponentType
impl AsRef<str> for PriceComponentType
Source§impl Clone for PriceComponentType
impl Clone for PriceComponentType
Source§fn clone(&self) -> PriceComponentType
fn clone(&self) -> PriceComponentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PriceComponentType
impl Debug for PriceComponentType
Source§impl<'de> Deserialize<'de> for PriceComponentType
impl<'de> Deserialize<'de> for PriceComponentType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PriceComponentType
impl Display for PriceComponentType
Source§impl From<PriceComponentType> for CodeableConcept
impl From<PriceComponentType> for CodeableConcept
Source§fn from(code: PriceComponentType) -> Self
fn from(code: PriceComponentType) -> Self
Converts to this type from the input type.
Source§impl From<PriceComponentType> for Coding
impl From<PriceComponentType> for Coding
Source§fn from(code: PriceComponentType) -> Self
fn from(code: PriceComponentType) -> Self
Converts to this type from the input type.
Source§impl FromStr for PriceComponentType
impl FromStr for PriceComponentType
Source§impl Hash for PriceComponentType
impl Hash for PriceComponentType
Source§impl PartialEq for PriceComponentType
impl PartialEq for PriceComponentType
Source§fn eq(&self, other: &PriceComponentType) -> bool
fn eq(&self, other: &PriceComponentType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PriceComponentType
impl Serialize for PriceComponentType
impl Copy for PriceComponentType
impl Eq for PriceComponentType
impl StructuralPartialEq for PriceComponentType
Auto Trait Implementations§
impl Freeze for PriceComponentType
impl RefUnwindSafe for PriceComponentType
impl Send for PriceComponentType
impl Sync for PriceComponentType
impl Unpin for PriceComponentType
impl UnsafeUnpin for PriceComponentType
impl UnwindSafe for PriceComponentType
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