pub struct ReferrerPolicy { /* private fields */ }Implementations§
Source§impl ReferrerPolicy
impl ReferrerPolicy
pub const NO_REFERRER: ReferrerPolicy
pub const NO_REFERRER_WHEN_DOWNGRADE: ReferrerPolicy
pub const ORIGIN: ReferrerPolicy
pub const ORIGIN_WHEN_CROSS_ORIGIN: ReferrerPolicy
pub const SAME_ORIGIN: ReferrerPolicy
pub const STRICT_ORIGIN: ReferrerPolicy
pub const STRICT_ORIGIN_WHEN_CROSS_ORIGIN: ReferrerPolicy
pub const UNSAFE_URL: ReferrerPolicy
Trait Implementations§
Source§impl Clone for ReferrerPolicy
impl Clone for ReferrerPolicy
Source§fn clone(&self) -> ReferrerPolicy
fn clone(&self) -> ReferrerPolicy
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 moreAuto Trait Implementations§
impl !Freeze for ReferrerPolicy
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