pub struct PricePreview {
pub amount: String,
pub currency: String,
pub maximum: String,
pub minimum: String,
pub price_type: PriceType,
pub unit: String,
pub additional: AdditionalMembers,
}Fields§
§amount: String§currency: String§maximum: String§minimum: String§price_type: PriceType§unit: String§additional: AdditionalMembersTrait Implementations§
Source§impl Clone for PricePreview
impl Clone for PricePreview
Source§fn clone(&self) -> PricePreview
fn clone(&self) -> PricePreview
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 PricePreview
impl Debug for PricePreview
Source§impl<'de> Deserialize<'de> for PricePreview
impl<'de> Deserialize<'de> for PricePreview
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 PartialEq for PricePreview
impl PartialEq for PricePreview
Source§impl Serialize for PricePreview
impl Serialize for PricePreview
impl StructuralPartialEq for PricePreview
Auto Trait Implementations§
impl Freeze for PricePreview
impl RefUnwindSafe for PricePreview
impl Send for PricePreview
impl Sync for PricePreview
impl Unpin for PricePreview
impl UnsafeUnpin for PricePreview
impl UnwindSafe for PricePreview
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