#[repr(i32)]pub enum Sdk {
Show 13 variants
Unknown = 0,
Js = 1,
Swift = 2,
Android = 3,
Flutter = 4,
Go = 5,
Unity = 6,
ReactNative = 7,
Rust = 8,
Python = 9,
Cpp = 10,
UnityWeb = 11,
Node = 12,
}
Variants§
Unknown = 0
Js = 1
Swift = 2
Android = 3
Flutter = 4
Go = 5
Unity = 6
ReactNative = 7
Rust = 8
Python = 9
Cpp = 10
UnityWeb = 11
Node = 12
Implementations§
Source§impl Sdk
impl Sdk
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§
§impl<'de> Deserialize<'de> for Sdk
impl<'de> Deserialize<'de> for Sdk
§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 Ord for Sdk
impl Ord for Sdk
Source§impl PartialOrd for Sdk
impl PartialOrd for Sdk
impl Copy for Sdk
impl Eq for Sdk
impl StructuralPartialEq for Sdk
Auto Trait Implementations§
impl Freeze for Sdk
impl RefUnwindSafe for Sdk
impl Send for Sdk
impl Sync for Sdk
impl Unpin for Sdk
impl UnwindSafe for Sdk
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