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