pub struct ProductFormatting {
pub formatted_price: String,
pub formatted_subscription_period: Option<String>,
pub formatted_subscription_period_unit: Option<String>,
}Expand description
Carries localized formatting derived from StoreKit.Product.
Fields§
§formatted_price: StringFormatted price string returned by StoreKit.
formatted_subscription_period: Option<String>Formatted subscription period string returned by StoreKit.
formatted_subscription_period_unit: Option<String>Formatted subscription period unit string returned by StoreKit.
Trait Implementations§
Source§impl Clone for ProductFormatting
impl Clone for ProductFormatting
Source§impl Debug for ProductFormatting
impl Debug for ProductFormatting
impl Eq for ProductFormatting
Source§impl PartialEq for ProductFormatting
impl PartialEq 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