pub enum PlatformType {
Unspecified,
Windows,
Linux,
Android,
OSX,
IOS,
AnyPlatform,
AllPlatforms,
Chrome,
}
Expand description
Platform types in the Safe Browsing API
Variants§
Unspecified
Unknown platform
Windows
Windows platform
Linux
Linux platform
Android
Android platform
OSX
macOS platform
IOS
iOS platform
AnyPlatform
Any platform (at least one platform)
AllPlatforms
All platforms
Chrome
Chrome browser
Trait Implementations§
Source§impl Clone for PlatformType
impl Clone for PlatformType
Source§fn clone(&self) -> PlatformType
fn clone(&self) -> PlatformType
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 PlatformType
impl Debug for PlatformType
Source§impl<'de> Deserialize<'de> for PlatformType
impl<'de> Deserialize<'de> for PlatformType
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
Source§impl Display for PlatformType
impl Display for PlatformType
Source§impl From<PlatformType> for i32
impl From<PlatformType> for i32
Source§fn from(pt: PlatformType) -> i32
fn from(pt: PlatformType) -> i32
Converts to this type from the input type.
Source§impl From<i32> for PlatformType
impl From<i32> for PlatformType
Source§impl Hash for PlatformType
impl Hash for PlatformType
Source§impl PartialEq for PlatformType
impl PartialEq for PlatformType
Source§impl Serialize for PlatformType
impl Serialize for PlatformType
impl Copy for PlatformType
impl Eq for PlatformType
impl StructuralPartialEq for PlatformType
Auto Trait Implementations§
impl Freeze for PlatformType
impl RefUnwindSafe for PlatformType
impl Send for PlatformType
impl Sync for PlatformType
impl Unpin for PlatformType
impl UnwindSafe for PlatformType
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> 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.