pub enum InputStorePaymentPurpose {
InputStorePaymentPremiumSubscription(InputStorePaymentPremiumSubscription),
InputStorePaymentGiftPremium(InputStorePaymentGiftPremium),
InputStorePaymentPremiumGiftCode(InputStorePaymentPremiumGiftCode),
InputStorePaymentPremiumGiveaway(InputStorePaymentPremiumGiveaway),
InputStorePaymentStarsTopup(InputStorePaymentStarsTopup),
InputStorePaymentStarsGift(InputStorePaymentStarsGift),
InputStorePaymentStarsGiveaway(InputStorePaymentStarsGiveaway),
InputStorePaymentAuthCode(InputStorePaymentAuthCode),
}Expand description
Variants§
InputStorePaymentPremiumSubscription(InputStorePaymentPremiumSubscription)
InputStorePaymentGiftPremium(InputStorePaymentGiftPremium)
InputStorePaymentPremiumGiftCode(InputStorePaymentPremiumGiftCode)
InputStorePaymentPremiumGiveaway(InputStorePaymentPremiumGiveaway)
InputStorePaymentStarsTopup(InputStorePaymentStarsTopup)
InputStorePaymentStarsGift(InputStorePaymentStarsGift)
InputStorePaymentStarsGiveaway(InputStorePaymentStarsGiveaway)
InputStorePaymentAuthCode(InputStorePaymentAuthCode)
Trait Implementations§
Source§impl Clone for InputStorePaymentPurpose
impl Clone for InputStorePaymentPurpose
Source§fn clone(&self) -> InputStorePaymentPurpose
fn clone(&self) -> InputStorePaymentPurpose
Returns a duplicate of the value. Read more
1.0.0 · 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 InputStorePaymentPurpose
impl Debug for InputStorePaymentPurpose
Source§impl Deserializable for InputStorePaymentPurpose
impl Deserializable for InputStorePaymentPurpose
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputStorePaymentAuthCode> for InputStorePaymentPurpose
impl From<InputStorePaymentAuthCode> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentAuthCode) -> Self
fn from(x: InputStorePaymentAuthCode) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentGiftPremium> for InputStorePaymentPurpose
impl From<InputStorePaymentGiftPremium> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentGiftPremium) -> Self
fn from(x: InputStorePaymentGiftPremium) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentPremiumGiftCode> for InputStorePaymentPurpose
impl From<InputStorePaymentPremiumGiftCode> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentPremiumGiftCode) -> Self
fn from(x: InputStorePaymentPremiumGiftCode) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentPremiumGiveaway> for InputStorePaymentPurpose
impl From<InputStorePaymentPremiumGiveaway> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentPremiumGiveaway) -> Self
fn from(x: InputStorePaymentPremiumGiveaway) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentPremiumSubscription> for InputStorePaymentPurpose
impl From<InputStorePaymentPremiumSubscription> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentPremiumSubscription) -> Self
fn from(x: InputStorePaymentPremiumSubscription) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentStarsGift> for InputStorePaymentPurpose
impl From<InputStorePaymentStarsGift> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentStarsGift) -> Self
fn from(x: InputStorePaymentStarsGift) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentStarsGiveaway> for InputStorePaymentPurpose
impl From<InputStorePaymentStarsGiveaway> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentStarsGiveaway) -> Self
fn from(x: InputStorePaymentStarsGiveaway) -> Self
Converts to this type from the input type.
Source§impl From<InputStorePaymentStarsTopup> for InputStorePaymentPurpose
impl From<InputStorePaymentStarsTopup> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentStarsTopup) -> Self
fn from(x: InputStorePaymentStarsTopup) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputStorePaymentPurpose
impl PartialEq for InputStorePaymentPurpose
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentAuthCode
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentAuthCode
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentGiftPremium
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentGiftPremium
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumGiftCode
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumGiftCode
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumGiveaway
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumGiveaway
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumSubscription
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumSubscription
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGift
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGift
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGiveaway
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGiveaway
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsTopup
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsTopup
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStorePaymentPurpose
Auto Trait Implementations§
impl Freeze for InputStorePaymentPurpose
impl RefUnwindSafe for InputStorePaymentPurpose
impl Send for InputStorePaymentPurpose
impl Sync for InputStorePaymentPurpose
impl Unpin for InputStorePaymentPurpose
impl UnsafeUnpin for InputStorePaymentPurpose
impl UnwindSafe for InputStorePaymentPurpose
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