#[repr(i32)]pub enum EPublishedFileQueryType {
Show 24 variants
KPublishedFileQueryTypeRankedByVote = 0,
KPublishedFileQueryTypeRankedByPublicationDate = 1,
KPublishedFileQueryTypeAcceptedForGameRankedByAcceptanceDate = 2,
KPublishedFileQueryTypeRankedByTrend = 3,
KPublishedFileQueryTypeFavoritedByFriendsRankedByPublicationDate = 4,
KPublishedFileQueryTypeCreatedByFriendsRankedByPublicationDate = 5,
KPublishedFileQueryTypeRankedByNumTimesReported = 6,
KPublishedFileQueryTypeCreatedByFollowedUsersRankedByPublicationDate = 7,
KPublishedFileQueryTypeNotYetRated = 8,
KPublishedFileQueryTypeRankedByTotalUniqueSubscriptions = 9,
KPublishedFileQueryTypeRankedByTotalVotesAsc = 10,
KPublishedFileQueryTypeRankedByVotesUp = 11,
KPublishedFileQueryTypeRankedByTextSearch = 12,
KPublishedFileQueryTypeRankedByPlaytimeTrend = 13,
KPublishedFileQueryTypeRankedByTotalPlaytime = 14,
KPublishedFileQueryTypeRankedByAveragePlaytimeTrend = 15,
KPublishedFileQueryTypeRankedByLifetimeAveragePlaytime = 16,
KPublishedFileQueryTypeRankedByPlaytimeSessionsTrend = 17,
KPublishedFileQueryTypeRankedByLifetimePlaytimeSessions = 18,
KPublishedFileQueryTypeRankedByInappropriateContentRating = 19,
KPublishedFileQueryTypeRankedByBanContentCheck = 20,
KPublishedFileQueryTypeRankedByLastUpdatedDate = 21,
KPublishedFileQueryTypeRankedByNumParentItems = 22,
KPublishedFileQueryTypeRankedByNumParentCollections = 23,
}Variants§
KPublishedFileQueryTypeRankedByVote = 0
KPublishedFileQueryTypeRankedByPublicationDate = 1
KPublishedFileQueryTypeAcceptedForGameRankedByAcceptanceDate = 2
KPublishedFileQueryTypeRankedByTrend = 3
KPublishedFileQueryTypeFavoritedByFriendsRankedByPublicationDate = 4
KPublishedFileQueryTypeCreatedByFriendsRankedByPublicationDate = 5
KPublishedFileQueryTypeRankedByNumTimesReported = 6
KPublishedFileQueryTypeCreatedByFollowedUsersRankedByPublicationDate = 7
KPublishedFileQueryTypeNotYetRated = 8
KPublishedFileQueryTypeRankedByTotalUniqueSubscriptions = 9
KPublishedFileQueryTypeRankedByTotalVotesAsc = 10
KPublishedFileQueryTypeRankedByVotesUp = 11
KPublishedFileQueryTypeRankedByTextSearch = 12
KPublishedFileQueryTypeRankedByPlaytimeTrend = 13
KPublishedFileQueryTypeRankedByTotalPlaytime = 14
KPublishedFileQueryTypeRankedByAveragePlaytimeTrend = 15
KPublishedFileQueryTypeRankedByLifetimeAveragePlaytime = 16
KPublishedFileQueryTypeRankedByPlaytimeSessionsTrend = 17
KPublishedFileQueryTypeRankedByLifetimePlaytimeSessions = 18
KPublishedFileQueryTypeRankedByInappropriateContentRating = 19
KPublishedFileQueryTypeRankedByBanContentCheck = 20
KPublishedFileQueryTypeRankedByLastUpdatedDate = 21
KPublishedFileQueryTypeRankedByNumParentItems = 22
KPublishedFileQueryTypeRankedByNumParentCollections = 23
Implementations§
Source§impl EPublishedFileQueryType
impl EPublishedFileQueryType
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of EPublishedFileQueryType.
Sourcepub fn from_i32(value: i32) -> Option<EPublishedFileQueryType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<EPublishedFileQueryType>
Use the TryFrom<i32> implementation instead
Converts an i32 to a EPublishedFileQueryType, or None if value is not a valid variant.
Source§impl EPublishedFileQueryType
impl EPublishedFileQueryType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for EPublishedFileQueryType
impl Clone for EPublishedFileQueryType
Source§fn clone(&self) -> EPublishedFileQueryType
fn clone(&self) -> EPublishedFileQueryType
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 moreimpl Copy for EPublishedFileQueryType
Source§impl Debug for EPublishedFileQueryType
impl Debug for EPublishedFileQueryType
Source§impl Default for EPublishedFileQueryType
impl Default for EPublishedFileQueryType
Source§fn default() -> EPublishedFileQueryType
fn default() -> EPublishedFileQueryType
Returns the “default value” for a type. Read more
impl Eq for EPublishedFileQueryType
Source§impl From<EPublishedFileQueryType> for i32
impl From<EPublishedFileQueryType> for i32
Source§fn from(value: EPublishedFileQueryType) -> i32
fn from(value: EPublishedFileQueryType) -> i32
Converts to this type from the input type.
Source§impl Hash for EPublishedFileQueryType
impl Hash for EPublishedFileQueryType
Source§impl Ord for EPublishedFileQueryType
impl Ord for EPublishedFileQueryType
Source§fn cmp(&self, other: &EPublishedFileQueryType) -> Ordering
fn cmp(&self, other: &EPublishedFileQueryType) -> 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 EPublishedFileQueryType
impl PartialEq for EPublishedFileQueryType
Source§fn eq(&self, other: &EPublishedFileQueryType) -> bool
fn eq(&self, other: &EPublishedFileQueryType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EPublishedFileQueryType
impl PartialOrd for EPublishedFileQueryType
impl StructuralPartialEq for EPublishedFileQueryType
Source§impl TryFrom<i32> for EPublishedFileQueryType
impl TryFrom<i32> for EPublishedFileQueryType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<EPublishedFileQueryType, UnknownEnumValue>
fn try_from(value: i32) -> Result<EPublishedFileQueryType, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EPublishedFileQueryType
impl RefUnwindSafe for EPublishedFileQueryType
impl Send for EPublishedFileQueryType
impl Sync for EPublishedFileQueryType
impl Unpin for EPublishedFileQueryType
impl UnsafeUnpin for EPublishedFileQueryType
impl UnwindSafe for EPublishedFileQueryType
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