#[non_exhaustive]pub enum WebCaptureScreenSize {
Desktop,
Laptop,
Tablet,
Mobile,
Unknown(String),
}Expand description
Choices for screenSize.
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.
Desktop
desktop
Laptop
laptop
Tablet
tablet
Mobile
mobile
Unknown(String)
A value this version of the SDK does not know, kept as sent.
Implementations§
Trait Implementations§
Source§impl Clone for WebCaptureScreenSize
impl Clone for WebCaptureScreenSize
Source§impl Debug for WebCaptureScreenSize
impl Debug for WebCaptureScreenSize
Source§impl Default for WebCaptureScreenSize
impl Default for WebCaptureScreenSize
Source§impl<'de> Deserialize<'de> for WebCaptureScreenSize
impl<'de> Deserialize<'de> for WebCaptureScreenSize
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WebCaptureScreenSize
impl Display for WebCaptureScreenSize
impl Eq for WebCaptureScreenSize
Source§impl From<&str> for WebCaptureScreenSize
impl From<&str> for WebCaptureScreenSize
Source§impl From<String> for WebCaptureScreenSize
impl From<String> for WebCaptureScreenSize
Source§impl FromStr for WebCaptureScreenSize
impl FromStr for WebCaptureScreenSize
Source§impl Hash for WebCaptureScreenSize
impl Hash for WebCaptureScreenSize
Source§impl Ord for WebCaptureScreenSize
impl Ord for WebCaptureScreenSize
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WebCaptureScreenSize
impl PartialEq for WebCaptureScreenSize
Source§impl PartialOrd for WebCaptureScreenSize
impl PartialOrd for WebCaptureScreenSize
Source§impl Serialize for WebCaptureScreenSize
impl Serialize for WebCaptureScreenSize
impl StructuralPartialEq for WebCaptureScreenSize
Auto Trait Implementations§
impl Forget for WebCaptureScreenSize
impl Freeze for WebCaptureScreenSize
impl Move for WebCaptureScreenSize
impl RefUnwindSafe for WebCaptureScreenSize
impl Send for WebCaptureScreenSize
impl Sync for WebCaptureScreenSize
impl Unpin for WebCaptureScreenSize
impl UnsafeUnpin for WebCaptureScreenSize
impl UnwindSafe for WebCaptureScreenSize
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.