pub struct ProductFormatting {
pub formatted_price: String,
pub formatted_subscription_period: Option<String>,
pub formatted_subscription_period_unit: Option<String>,
}Fields§
§formatted_price: String§formatted_subscription_period: Option<String>§formatted_subscription_period_unit: Option<String>Trait Implementations§
Source§impl Clone for ProductFormatting
impl Clone for ProductFormatting
Source§fn clone(&self) -> ProductFormatting
fn clone(&self) -> ProductFormatting
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 ProductFormatting
impl Debug for ProductFormatting
Source§impl PartialEq for ProductFormatting
impl PartialEq for ProductFormatting
Source§fn eq(&self, other: &ProductFormatting) -> bool
fn eq(&self, other: &ProductFormatting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProductFormatting
impl StructuralPartialEq for ProductFormatting
Auto Trait Implementations§
impl Freeze for ProductFormatting
impl RefUnwindSafe for ProductFormatting
impl Send for ProductFormatting
impl Sync for ProductFormatting
impl Unpin for ProductFormatting
impl UnsafeUnpin for ProductFormatting
impl UnwindSafe for ProductFormatting
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