#[repr(u32)]pub enum Origin {
Show 30 variants
TimedDrop,
Achievement,
Purchased,
Traded,
Crafted,
StorePromotion,
Gifted,
SupportGranted,
FoundInCrate,
Earned,
ThirdPartyPromotion,
WrappedGift,
HalloweenDrop,
SteamPurchase,
ForeignItem,
CDKey,
CollectionReward,
PreviewItem,
SteamWorkshopContribution,
PeriodicScoreReward,
MvMBadgeCompletionReward,
MvMSquadSurplusReward,
RecipeOutput,
QuestDrop,
QuestLoanerItem,
TradeUp,
ViralCompetitiveBetaPassSpread,
CYOABloodMoneyPurchase,
WarPaint,
UntradableFreeContractReward,
}
Expand description
Origin.
Variants§
TimedDrop
Achievement
Purchased
Traded
Crafted
StorePromotion
Gifted
SupportGranted
FoundInCrate
Earned
ThirdPartyPromotion
WrappedGift
HalloweenDrop
SteamPurchase
ForeignItem
CDKey
CollectionReward
PreviewItem
SteamWorkshopContribution
PeriodicScoreReward
MvMBadgeCompletionReward
MvMSquadSurplusReward
RecipeOutput
QuestDrop
QuestLoanerItem
TradeUp
ViralCompetitiveBetaPassSpread
CYOABloodMoneyPurchase
WarPaint
UntradableFreeContractReward
Trait Implementations§
source§impl<'de> Deserialize<'de> for Origin
impl<'de> Deserialize<'de> for Origin
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 Ord for Origin
impl Ord for Origin
source§impl PartialEq<Origin> for Origin
impl PartialEq<Origin> for Origin
source§impl PartialOrd<Origin> for Origin
impl PartialOrd<Origin> for Origin
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<u32> for Origin
impl TryFrom<u32> for Origin
§type Error = TryFromPrimitiveError<Origin>
type Error = TryFromPrimitiveError<Origin>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Origin
impl TryFromPrimitive for Origin
impl Copy for Origin
impl Eq for Origin
impl StructuralEq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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