#[non_exhaustive]#[repr(u8)]pub enum ValPlatformRoute {
AP = 64,
BR = 65,
EU = 66,
KR = 70,
LATAM = 68,
NA = 69,
ESPORTS = 95,
}Expand description
Platform routes for Valorant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AP = 64
Asia-Pacific.
64 (riotapi-schema ID/repr)
BR = 65
Brazil.
65 (riotapi-schema ID/repr)
EU = 66
Europe.
66 (riotapi-schema ID/repr)
KR = 70
Korea.
70 (riotapi-schema ID/repr)
LATAM = 68
Latin America.
68 (riotapi-schema ID/repr)
NA = 69
North America.
69 (riotapi-schema ID/repr)
ESPORTS = 95
Special esports platform.
95 (riotapi-schema ID/repr)
Trait Implementations§
Source§impl Clone for ValPlatformRoute
impl Clone for ValPlatformRoute
Source§fn clone(&self) -> ValPlatformRoute
fn clone(&self) -> ValPlatformRoute
Returns a duplicate of the value. Read more
1.0.0 · 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 ValPlatformRoute
impl Debug for ValPlatformRoute
Source§impl Display for ValPlatformRoute
impl Display for ValPlatformRoute
Source§impl<'_derivative_strum> From<&'_derivative_strum ValPlatformRoute> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ValPlatformRoute> for &'static str
Source§fn from(x: &'_derivative_strum ValPlatformRoute) -> &'static str
fn from(x: &'_derivative_strum ValPlatformRoute) -> &'static str
Converts to this type from the input type.
Source§impl From<ValPlatformRoute> for &'static str
impl From<ValPlatformRoute> for &'static str
Source§fn from(x: ValPlatformRoute) -> &'static str
fn from(x: ValPlatformRoute) -> &'static str
Converts to this type from the input type.
Source§impl From<ValPlatformRoute> for u8
impl From<ValPlatformRoute> for u8
Source§fn from(enum_value: ValPlatformRoute) -> Self
fn from(enum_value: ValPlatformRoute) -> Self
Converts to this type from the input type.
Source§impl FromStr for ValPlatformRoute
impl FromStr for ValPlatformRoute
Source§impl Hash for ValPlatformRoute
impl Hash for ValPlatformRoute
Source§impl IntoEnumIterator for ValPlatformRoute
impl IntoEnumIterator for ValPlatformRoute
type Iterator = ValPlatformRouteIter
fn iter() -> ValPlatformRouteIter ⓘ
Source§impl Ord for ValPlatformRoute
impl Ord for ValPlatformRoute
Source§fn cmp(&self, other: &ValPlatformRoute) -> Ordering
fn cmp(&self, other: &ValPlatformRoute) -> Ordering
1.21.0 · 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 ValPlatformRoute
impl PartialEq for ValPlatformRoute
Source§impl PartialOrd for ValPlatformRoute
impl PartialOrd for ValPlatformRoute
Source§impl TryFrom<u8> for ValPlatformRoute
impl TryFrom<u8> for ValPlatformRoute
Source§type Error = TryFromPrimitiveError<ValPlatformRoute>
type Error = TryFromPrimitiveError<ValPlatformRoute>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ValPlatformRoute
impl TryFromPrimitive for ValPlatformRoute
impl Copy for ValPlatformRoute
impl Eq for ValPlatformRoute
impl StructuralPartialEq for ValPlatformRoute
Auto Trait Implementations§
impl Freeze for ValPlatformRoute
impl RefUnwindSafe for ValPlatformRoute
impl Send for ValPlatformRoute
impl Sync for ValPlatformRoute
impl Unpin for ValPlatformRoute
impl UnsafeUnpin for ValPlatformRoute
impl UnwindSafe for ValPlatformRoute
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
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.