#[repr(i32)]pub enum ESteamLearnCacheDataResult {
SteamlearnCacheDataError = 0,
SteamlearnCacheDataSuccess = 1,
SteamlearnCacheDataErrorUnknownDataSource = 2,
SteamlearnCacheDataErrorUncachedDataSource = 3,
SteamlearnCacheDataErrorInvalidKeys = 4,
SteamlearnCacheDataErrorForbidden = 5,
SteamlearnCacheDataErrorInvalidTimestamp = 6,
SteamlearnCacheDataDisabled = 7,
}Variants§
SteamlearnCacheDataError = 0
SteamlearnCacheDataSuccess = 1
SteamlearnCacheDataErrorUnknownDataSource = 2
SteamlearnCacheDataErrorUncachedDataSource = 3
SteamlearnCacheDataErrorInvalidKeys = 4
SteamlearnCacheDataErrorForbidden = 5
SteamlearnCacheDataErrorInvalidTimestamp = 6
SteamlearnCacheDataDisabled = 7
Implementations§
Source§impl ESteamLearnCacheDataResult
impl ESteamLearnCacheDataResult
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true if value is a variant of ESteamLearnCacheDataResult.
Sourcepub fn from_i32(value: i32) -> Option<ESteamLearnCacheDataResult>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ESteamLearnCacheDataResult>
Use the TryFrom<i32> implementation instead
Converts an i32 to a ESteamLearnCacheDataResult, or None if value is not a valid variant.
Trait Implementations§
Source§impl Clone for ESteamLearnCacheDataResult
impl Clone for ESteamLearnCacheDataResult
Source§fn clone(&self) -> ESteamLearnCacheDataResult
fn clone(&self) -> ESteamLearnCacheDataResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ESteamLearnCacheDataResult
impl Debug for ESteamLearnCacheDataResult
Source§impl Default for ESteamLearnCacheDataResult
impl Default for ESteamLearnCacheDataResult
Source§fn default() -> ESteamLearnCacheDataResult
fn default() -> ESteamLearnCacheDataResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ESteamLearnCacheDataResult
impl<'de> Deserialize<'de> for ESteamLearnCacheDataResult
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<ESteamLearnCacheDataResult> for i32
impl From<ESteamLearnCacheDataResult> for i32
Source§fn from(value: ESteamLearnCacheDataResult) -> i32
fn from(value: ESteamLearnCacheDataResult) -> i32
Converts to this type from the input type.
Source§impl Hash for ESteamLearnCacheDataResult
impl Hash for ESteamLearnCacheDataResult
Source§impl Ord for ESteamLearnCacheDataResult
impl Ord for ESteamLearnCacheDataResult
Source§fn cmp(&self, other: &ESteamLearnCacheDataResult) -> Ordering
fn cmp(&self, other: &ESteamLearnCacheDataResult) -> Ordering
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
Source§impl PartialEq for ESteamLearnCacheDataResult
impl PartialEq for ESteamLearnCacheDataResult
Source§fn eq(&self, other: &ESteamLearnCacheDataResult) -> bool
fn eq(&self, other: &ESteamLearnCacheDataResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ESteamLearnCacheDataResult
impl PartialOrd for ESteamLearnCacheDataResult
Source§impl TryFrom<i32> for ESteamLearnCacheDataResult
impl TryFrom<i32> for ESteamLearnCacheDataResult
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<ESteamLearnCacheDataResult, UnknownEnumValue>
fn try_from(value: i32) -> Result<ESteamLearnCacheDataResult, UnknownEnumValue>
Performs the conversion.
impl Copy for ESteamLearnCacheDataResult
impl Eq for ESteamLearnCacheDataResult
impl StructuralPartialEq for ESteamLearnCacheDataResult
Auto Trait Implementations§
impl Freeze for ESteamLearnCacheDataResult
impl RefUnwindSafe for ESteamLearnCacheDataResult
impl Send for ESteamLearnCacheDataResult
impl Sync for ESteamLearnCacheDataResult
impl Unpin for ESteamLearnCacheDataResult
impl UnsafeUnpin for ESteamLearnCacheDataResult
impl UnwindSafe for ESteamLearnCacheDataResult
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