#[repr(i32)]pub enum ESteamLearnSnapshotProjectResult {
Show 13 variants
SteamlearnSnapshotProjectError = 0,
SteamlearnSnapshotProjectSuccessStored = 1,
SteamlearnSnapshotProjectSuccessQueued = 2,
SteamlearnSnapshotProjectErrorInvalidProjectId = 3,
SteamlearnSnapshotProjectErrorUnknownDataSource = 4,
SteamlearnSnapshotProjectErrorInvalidDataSourceKey = 5,
SteamlearnSnapshotProjectErrorMissingCacheDuration = 6,
SteamlearnSnapshotProjectErrorNoPublishedConfig = 7,
SteamlearnSnapshotProjectErrorForbidden = 8,
SteamlearnSnapshotProjectErrorInvalidTimestamp = 9,
SteamlearnSnapshotProjectErrorInternalDataSourceError = 10,
SteamlearnSnapshotProjectDisabled = 11,
SteamlearnSnapshotProjectErrorInvalidPublishedVersion = 12,
}Variants§
SteamlearnSnapshotProjectError = 0
SteamlearnSnapshotProjectSuccessStored = 1
SteamlearnSnapshotProjectSuccessQueued = 2
SteamlearnSnapshotProjectErrorInvalidProjectId = 3
SteamlearnSnapshotProjectErrorUnknownDataSource = 4
SteamlearnSnapshotProjectErrorInvalidDataSourceKey = 5
SteamlearnSnapshotProjectErrorMissingCacheDuration = 6
SteamlearnSnapshotProjectErrorNoPublishedConfig = 7
SteamlearnSnapshotProjectErrorForbidden = 8
SteamlearnSnapshotProjectErrorInvalidTimestamp = 9
SteamlearnSnapshotProjectErrorInternalDataSourceError = 10
SteamlearnSnapshotProjectDisabled = 11
SteamlearnSnapshotProjectErrorInvalidPublishedVersion = 12
Implementations§
Source§impl ESteamLearnSnapshotProjectResult
impl ESteamLearnSnapshotProjectResult
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true if value is a variant of ESteamLearnSnapshotProjectResult.
Sourcepub fn from_i32(value: i32) -> Option<ESteamLearnSnapshotProjectResult>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ESteamLearnSnapshotProjectResult>
Converts an i32 to a ESteamLearnSnapshotProjectResult, or None if value is not a valid variant.
Trait Implementations§
Source§impl Clone for ESteamLearnSnapshotProjectResult
impl Clone for ESteamLearnSnapshotProjectResult
Source§fn clone(&self) -> ESteamLearnSnapshotProjectResult
fn clone(&self) -> ESteamLearnSnapshotProjectResult
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ESteamLearnSnapshotProjectResult
impl Default for ESteamLearnSnapshotProjectResult
Source§fn default() -> ESteamLearnSnapshotProjectResult
fn default() -> ESteamLearnSnapshotProjectResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ESteamLearnSnapshotProjectResult
impl<'de> Deserialize<'de> for ESteamLearnSnapshotProjectResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESteamLearnSnapshotProjectResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESteamLearnSnapshotProjectResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ESteamLearnSnapshotProjectResult
impl Ord for ESteamLearnSnapshotProjectResult
Source§fn cmp(&self, other: &ESteamLearnSnapshotProjectResult) -> Ordering
fn cmp(&self, other: &ESteamLearnSnapshotProjectResult) -> Ordering
1.21.0§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 PartialOrd for ESteamLearnSnapshotProjectResult
impl PartialOrd for ESteamLearnSnapshotProjectResult
Source§impl Serialize for ESteamLearnSnapshotProjectResult
impl Serialize for ESteamLearnSnapshotProjectResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<i32> for ESteamLearnSnapshotProjectResult
impl TryFrom<i32> for ESteamLearnSnapshotProjectResult
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: i32,
) -> Result<ESteamLearnSnapshotProjectResult, UnknownEnumValue>
fn try_from( value: i32, ) -> Result<ESteamLearnSnapshotProjectResult, UnknownEnumValue>
Performs the conversion.
impl Copy for ESteamLearnSnapshotProjectResult
impl Eq for ESteamLearnSnapshotProjectResult
impl StructuralPartialEq for ESteamLearnSnapshotProjectResult
Auto Trait Implementations§
impl Freeze for ESteamLearnSnapshotProjectResult
impl RefUnwindSafe for ESteamLearnSnapshotProjectResult
impl Send for ESteamLearnSnapshotProjectResult
impl Sync for ESteamLearnSnapshotProjectResult
impl Unpin for ESteamLearnSnapshotProjectResult
impl UnwindSafe for ESteamLearnSnapshotProjectResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.