#[repr(i32)]pub enum EEconTradeResponse {
Show 34 variants
Accepted = 0,
Declined = 1,
TradeBannedInitiator = 2,
TradeBannedTarget = 3,
TargetAlreadyTrading = 4,
Disabled = 5,
NotLoggedIn = 6,
Cancel = 7,
TooSoon = 8,
TooSoonPenalty = 9,
ConnectionFailed = 10,
AlreadyTrading = 11,
AlreadyHasTradeRequest = 12,
NoResponse = 13,
CyberCafeInitiator = 14,
CyberCafeTarget = 15,
SchoolLabInitiator = 16,
SchoolLabTarget = 17,
InitiatorBlockedTarget = 18,
InitiatorNeedsVerifiedEmail = 20,
InitiatorNeedsSteamGuard = 21,
TargetAccountCannotTrade = 22,
InitiatorSteamGuardDuration = 23,
InitiatorPasswordResetProbation = 24,
InitiatorNewDeviceCooldown = 25,
InitiatorSentInvalidCookie = 26,
NeedsEmailConfirmation = 27,
InitiatorRecentEmailChange = 28,
NeedsMobileConfirmation = 29,
TradingHoldForClearedTradeOffersInitiator = 30,
WouldExceedMaxAssetCount = 31,
DisabledInRegion = 32,
DisabledInPartnerRegion = 33,
OKToDeliver = 50,
}Expand description
The EEconTradeResponse enumeration.
Source: lang/steammsg.steamd.
Variants§
Accepted = 0
Declined = 1
TradeBannedInitiator = 2
TradeBannedTarget = 3
TargetAlreadyTrading = 4
Disabled = 5
NotLoggedIn = 6
Cancel = 7
TooSoon = 8
TooSoonPenalty = 9
ConnectionFailed = 10
AlreadyTrading = 11
AlreadyHasTradeRequest = 12
NoResponse = 13
CyberCafeInitiator = 14
CyberCafeTarget = 15
SchoolLabInitiator = 16
SchoolLabTarget = 17
InitiatorBlockedTarget = 18
InitiatorNeedsVerifiedEmail = 20
InitiatorNeedsSteamGuard = 21
TargetAccountCannotTrade = 22
InitiatorSteamGuardDuration = 23
InitiatorPasswordResetProbation = 24
InitiatorNewDeviceCooldown = 25
InitiatorSentInvalidCookie = 26
NeedsEmailConfirmation = 27
InitiatorRecentEmailChange = 28
NeedsMobileConfirmation = 29
TradingHoldForClearedTradeOffersInitiator = 30
WouldExceedMaxAssetCount = 31
DisabledInRegion = 32
DisabledInPartnerRegion = 33
OKToDeliver = 50
Implementations§
Source§impl EEconTradeResponse
impl EEconTradeResponse
Sourcepub const ALL: &'static [EEconTradeResponse]
pub const ALL: &'static [EEconTradeResponse]
Every variant of EEconTradeResponse.
Sourcepub fn from_value(value: i32) -> Option<Self>
pub fn from_value(value: i32) -> Option<Self>
Builds a variant from its numeric value.
When several variants share a value, the first declared one is returned.
Trait Implementations§
Source§impl Clone for EEconTradeResponse
impl Clone for EEconTradeResponse
impl Copy for EEconTradeResponse
Source§impl Debug for EEconTradeResponse
impl Debug for EEconTradeResponse
impl Eq for EEconTradeResponse
Source§impl From<EEconTradeResponse> for i32
impl From<EEconTradeResponse> for i32
Source§fn from(value: EEconTradeResponse) -> i32
fn from(value: EEconTradeResponse) -> i32
Converts to this type from the input type.
Source§impl Hash for EEconTradeResponse
impl Hash for EEconTradeResponse
Source§impl Ord for EEconTradeResponse
impl Ord for EEconTradeResponse
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EEconTradeResponse
impl PartialEq for EEconTradeResponse
Source§impl PartialOrd for EEconTradeResponse
impl PartialOrd for EEconTradeResponse
impl StructuralPartialEq for EEconTradeResponse
Source§impl TryFrom<i32> for EEconTradeResponse
impl TryFrom<i32> for EEconTradeResponse
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EEconTradeResponse
impl TryFrom<u32> for EEconTradeResponse
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EEconTradeResponse
impl RefUnwindSafe for EEconTradeResponse
impl Send for EEconTradeResponse
impl Sync for EEconTradeResponse
impl Unpin for EEconTradeResponse
impl UnsafeUnpin for EEconTradeResponse
impl UnwindSafe for EEconTradeResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.