pub enum CarrierModulePackEventOperation {
BuyPack,
SellPack,
RestockPack,
}
Expand description
The kind of operation performed for the given module pack.
Variants§
BuyPack
For when buying a new module pack.
SellPack
For when selling previously bought module pack.
RestockPack
For when restocking a previously bought module pack.
Trait Implementations§
Source§impl Clone for CarrierModulePackEventOperation
impl Clone for CarrierModulePackEventOperation
Source§fn clone(&self) -> CarrierModulePackEventOperation
fn clone(&self) -> CarrierModulePackEventOperation
Returns a copy 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<'de> Deserialize<'de> for CarrierModulePackEventOperation
impl<'de> Deserialize<'de> for CarrierModulePackEventOperation
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 PartialEq for CarrierModulePackEventOperation
impl PartialEq for CarrierModulePackEventOperation
Source§fn eq(&self, other: &CarrierModulePackEventOperation) -> bool
fn eq(&self, other: &CarrierModulePackEventOperation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CarrierModulePackEventOperation
Auto Trait Implementations§
impl Freeze for CarrierModulePackEventOperation
impl RefUnwindSafe for CarrierModulePackEventOperation
impl Send for CarrierModulePackEventOperation
impl Sync for CarrierModulePackEventOperation
impl Unpin for CarrierModulePackEventOperation
impl UnwindSafe for CarrierModulePackEventOperation
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