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