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