pub enum ContextKind {
Top,
Iframe,
Worker,
}Expand description
Logical browser context in which an identity surface was observed.
Variants§
Top
Top-level document (window).
Iframe
Same-origin iframe (iframe.contentWindow).
Worker
Dedicated or shared worker (WorkerGlobalScope).
Implementations§
Trait Implementations§
Source§impl Clone for ContextKind
impl Clone for ContextKind
Source§fn clone(&self) -> ContextKind
fn clone(&self) -> ContextKind
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 ContextKind
impl Debug for ContextKind
Source§impl<'de> Deserialize<'de> for ContextKind
impl<'de> Deserialize<'de> for ContextKind
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 Hash for ContextKind
impl Hash for ContextKind
Source§impl PartialEq for ContextKind
impl PartialEq for ContextKind
Source§impl Serialize for ContextKind
impl Serialize for ContextKind
impl Copy for ContextKind
impl Eq for ContextKind
impl StructuralPartialEq for ContextKind
Auto Trait Implementations§
impl Freeze for ContextKind
impl RefUnwindSafe for ContextKind
impl Send for ContextKind
impl Sync for ContextKind
impl Unpin for ContextKind
impl UnsafeUnpin for ContextKind
impl UnwindSafe for ContextKind
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.