pub enum MarketplacePurchaseEvent {
Cancelled(MarketplacePurchaseCancelled),
Changed(MarketplacePurchaseChanged),
PendingChange(MarketplacePurchasePendingChange),
PendingChangeCancelled(MarketplacePurchasePendingChangeCancelled),
Purchased(MarketplacePurchasePurchased),
}
Expand description
MarketplacePurchaseEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/marketplace_purchase$cancelled"
},
{
"$ref": "#/definitions/marketplace_purchase$changed"
},
{
"$ref": "#/definitions/marketplace_purchase$pending_change"
},
{
"$ref": "#/definitions/marketplace_purchase$pending_change_cancelled"
},
{
"$ref": "#/definitions/marketplace_purchase$purchased"
}
]
}
Variants§
Cancelled(MarketplacePurchaseCancelled)
Changed(MarketplacePurchaseChanged)
PendingChange(MarketplacePurchasePendingChange)
PendingChangeCancelled(MarketplacePurchasePendingChangeCancelled)
Purchased(MarketplacePurchasePurchased)
Trait Implementations§
Source§impl Clone for MarketplacePurchaseEvent
impl Clone for MarketplacePurchaseEvent
Source§fn clone(&self) -> MarketplacePurchaseEvent
fn clone(&self) -> MarketplacePurchaseEvent
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 MarketplacePurchaseEvent
impl Debug for MarketplacePurchaseEvent
Source§impl<'de> Deserialize<'de> for MarketplacePurchaseEvent
impl<'de> Deserialize<'de> for MarketplacePurchaseEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MarketplacePurchaseEvent> for MarketplacePurchaseEvent
impl From<&MarketplacePurchaseEvent> for MarketplacePurchaseEvent
Source§fn from(value: &MarketplacePurchaseEvent) -> Self
fn from(value: &MarketplacePurchaseEvent) -> Self
Converts to this type from the input type.
Source§impl From<MarketplacePurchaseCancelled> for MarketplacePurchaseEvent
impl From<MarketplacePurchaseCancelled> for MarketplacePurchaseEvent
Source§fn from(value: MarketplacePurchaseCancelled) -> Self
fn from(value: MarketplacePurchaseCancelled) -> Self
Converts to this type from the input type.
Source§impl From<MarketplacePurchaseChanged> for MarketplacePurchaseEvent
impl From<MarketplacePurchaseChanged> for MarketplacePurchaseEvent
Source§fn from(value: MarketplacePurchaseChanged) -> Self
fn from(value: MarketplacePurchaseChanged) -> Self
Converts to this type from the input type.
Source§impl From<MarketplacePurchasePendingChange> for MarketplacePurchaseEvent
impl From<MarketplacePurchasePendingChange> for MarketplacePurchaseEvent
Source§fn from(value: MarketplacePurchasePendingChange) -> Self
fn from(value: MarketplacePurchasePendingChange) -> Self
Converts to this type from the input type.
Source§impl From<MarketplacePurchasePendingChangeCancelled> for MarketplacePurchaseEvent
impl From<MarketplacePurchasePendingChangeCancelled> for MarketplacePurchaseEvent
Source§fn from(value: MarketplacePurchasePendingChangeCancelled) -> Self
fn from(value: MarketplacePurchasePendingChangeCancelled) -> Self
Converts to this type from the input type.
Source§impl From<MarketplacePurchasePurchased> for MarketplacePurchaseEvent
impl From<MarketplacePurchasePurchased> for MarketplacePurchaseEvent
Source§fn from(value: MarketplacePurchasePurchased) -> Self
fn from(value: MarketplacePurchasePurchased) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarketplacePurchaseEvent
impl RefUnwindSafe for MarketplacePurchaseEvent
impl Send for MarketplacePurchaseEvent
impl Sync for MarketplacePurchaseEvent
impl Unpin for MarketplacePurchaseEvent
impl UnwindSafe for MarketplacePurchaseEvent
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