Enum chromiumoxide::cdp::browser_protocol::page::ReferrerPolicy    
source · pub enum ReferrerPolicy {
    NoReferrer,
    NoReferrerWhenDowngrade,
    Origin,
    OriginWhenCrossOrigin,
    SameOrigin,
    StrictOrigin,
    StrictOriginWhenCrossOrigin,
    UnsafeUrl,
}Expand description
The referring-policy used for the navigation.
Variants§
NoReferrer
NoReferrerWhenDowngrade
Origin
OriginWhenCrossOrigin
SameOrigin
StrictOrigin
StrictOriginWhenCrossOrigin
UnsafeUrl
Trait Implementations§
source§impl AsRef<str> for ReferrerPolicy
 
impl AsRef<str> for ReferrerPolicy
source§impl Clone for ReferrerPolicy
 
impl Clone for ReferrerPolicy
source§fn clone(&self) -> ReferrerPolicy
 
fn clone(&self) -> ReferrerPolicy
Returns a copy 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 ReferrerPolicy
 
impl Debug for ReferrerPolicy
source§impl<'de> Deserialize<'de> for ReferrerPolicy
 
impl<'de> Deserialize<'de> for ReferrerPolicy
source§fn deserialize<__D>(
    __deserializer: __D
) -> Result<ReferrerPolicy, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>( __deserializer: __D ) -> Result<ReferrerPolicy, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for ReferrerPolicy
 
impl FromStr for ReferrerPolicy
source§impl Hash for ReferrerPolicy
 
impl Hash for ReferrerPolicy
source§impl PartialEq for ReferrerPolicy
 
impl PartialEq for ReferrerPolicy
source§fn eq(&self, other: &ReferrerPolicy) -> bool
 
fn eq(&self, other: &ReferrerPolicy) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ReferrerPolicy
 
impl Serialize for ReferrerPolicy
source§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ReferrerPolicy
impl StructuralEq for ReferrerPolicy
impl StructuralPartialEq for ReferrerPolicy
Auto Trait Implementations§
impl RefUnwindSafe for ReferrerPolicy
impl Send for ReferrerPolicy
impl Sync for ReferrerPolicy
impl Unpin for ReferrerPolicy
impl UnwindSafe for ReferrerPolicy
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<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.