pub struct BrowserCapability {
pub enabled: bool,
pub allowed_origins: Vec<String>,
}Fields§
§enabled: bool§allowed_origins: Vec<String>Trait Implementations§
Source§impl Clone for BrowserCapability
impl Clone for BrowserCapability
Source§fn clone(&self) -> BrowserCapability
fn clone(&self) -> BrowserCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrowserCapability
impl Debug for BrowserCapability
Source§impl Default for BrowserCapability
impl Default for BrowserCapability
Source§fn default() -> BrowserCapability
fn default() -> BrowserCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrowserCapability
impl<'de> Deserialize<'de> for BrowserCapability
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 PartialEq for BrowserCapability
impl PartialEq for BrowserCapability
Source§fn eq(&self, other: &BrowserCapability) -> bool
fn eq(&self, other: &BrowserCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BrowserCapability
impl Serialize for BrowserCapability
impl Eq for BrowserCapability
impl StructuralPartialEq for BrowserCapability
Auto Trait Implementations§
impl Freeze for BrowserCapability
impl RefUnwindSafe for BrowserCapability
impl Send for BrowserCapability
impl Sync for BrowserCapability
impl Unpin for BrowserCapability
impl UnsafeUnpin for BrowserCapability
impl UnwindSafe for BrowserCapability
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.