pub struct Price {
pub amount: Option<Value>,
pub currency: Option<String>,
pub billing_frequency: Option<String>,
pub price_model: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Price information (ODCS v3.1.0)
Fields§
§amount: Option<Value>Price amount
currency: Option<String>Currency
billing_frequency: Option<String>Billing frequency
price_model: Option<String>Price model type
extra: HashMap<String, Value>Additional properties
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Price
impl<'de> Deserialize<'de> for Price
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
impl StructuralPartialEq for Price
Auto Trait Implementations§
impl Freeze for Price
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnwindSafe for Price
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