Struct google_manufacturers1::api::Price
source · pub struct Price {
pub amount: Option<String>,
pub currency: Option<String>,
}
Expand description
A price.
This type is not used in any activity, and only used as part of another schema.
Fields§
§amount: Option<String>
The numeric value of the price.
currency: Option<String>
The currency in which the price is denoted.
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 Part for Price
Auto Trait Implementations§
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