pub enum OsKind {
Ios,
Android,
Linux,
Macos,
Windows,
Other,
}Expand description
The host operating system a batch was produced on.
ios and android are the two values wire v1 shipped with. The desktop
values are additive: the SDK’s Python binding runs on all three, and a
host that cannot name itself has nowhere honest to go but other. An
ingest that predates them rejects a desktop batch with 422, which is the
documented release gate for widening this enum, not a client bug.
Variants§
Ios
Apple iOS.
Android
Android.
Linux
A Linux desktop or server host.
Macos
Apple macOS.
Windows
Microsoft Windows.
Other
A host the SDK could not classify.
Trait Implementations§
impl Copy for OsKind
Source§impl<'de> Deserialize<'de> for OsKind
impl<'de> Deserialize<'de> for OsKind
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
impl Eq for OsKind
impl StructuralPartialEq for OsKind
Auto Trait Implementations§
impl Freeze for OsKind
impl RefUnwindSafe for OsKind
impl Send for OsKind
impl Sync for OsKind
impl Unpin for OsKind
impl UnsafeUnpin for OsKind
impl UnwindSafe for OsKind
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