pub struct SubscriptionOffer {
pub id: Option<String>,
pub offer_type: SubscriptionOfferType,
pub price: String,
pub display_price: String,
pub period: SubscriptionPeriod,
pub period_count: i64,
pub payment_mode: SubscriptionPaymentMode,
}Fields§
§id: Option<String>§offer_type: SubscriptionOfferType§price: String§display_price: String§period: SubscriptionPeriod§period_count: i64§payment_mode: SubscriptionPaymentModeTrait Implementations§
Source§impl Clone for SubscriptionOffer
impl Clone for SubscriptionOffer
Source§fn clone(&self) -> SubscriptionOffer
fn clone(&self) -> SubscriptionOffer
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 SubscriptionOffer
impl Debug for SubscriptionOffer
Source§impl PartialEq for SubscriptionOffer
impl PartialEq for SubscriptionOffer
Source§fn eq(&self, other: &SubscriptionOffer) -> bool
fn eq(&self, other: &SubscriptionOffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SubscriptionOffer
impl StructuralPartialEq for SubscriptionOffer
Auto Trait Implementations§
impl Freeze for SubscriptionOffer
impl RefUnwindSafe for SubscriptionOffer
impl Send for SubscriptionOffer
impl Sync for SubscriptionOffer
impl Unpin for SubscriptionOffer
impl UnsafeUnpin for SubscriptionOffer
impl UnwindSafe for SubscriptionOffer
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