#[non_exhaustive]pub enum DisabledFlag {
Disabled,
Other(String),
}Expand description
browserExternalPageTools.
Docs: browserExternalPageTools.
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.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for DisabledFlag
impl AsRef<str> for DisabledFlag
Source§impl Clone for DisabledFlag
impl Clone for DisabledFlag
Source§impl Debug for DisabledFlag
impl Debug for DisabledFlag
Source§impl<'de> Deserialize<'de> for DisabledFlag
impl<'de> Deserialize<'de> for DisabledFlag
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DisabledFlag
impl Display for DisabledFlag
impl Eq for DisabledFlag
Source§impl From<&str> for DisabledFlag
impl From<&str> for DisabledFlag
Source§impl From<String> for DisabledFlag
impl From<String> for DisabledFlag
Source§impl Hash for DisabledFlag
impl Hash for DisabledFlag
Source§impl Ord for DisabledFlag
impl Ord for DisabledFlag
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 DisabledFlag
impl PartialEq for DisabledFlag
Source§impl PartialOrd for DisabledFlag
impl PartialOrd for DisabledFlag
Source§impl Serialize for DisabledFlag
impl Serialize for DisabledFlag
impl StructuralPartialEq for DisabledFlag
Auto Trait Implementations§
impl Forget for DisabledFlag
impl Freeze for DisabledFlag
impl Move for DisabledFlag
impl RefUnwindSafe for DisabledFlag
impl Send for DisabledFlag
impl Sync for DisabledFlag
impl Unpin for DisabledFlag
impl UnsafeUnpin for DisabledFlag
impl UnwindSafe for DisabledFlag
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