pub enum CrossOriginOpenerPolicy {
UnsafeNone,
SameOriginAllowPopups,
SameOrigin,
}
Available on crate feature
security
only.Variants§
Trait Implementations§
Source§impl Clone for CrossOriginOpenerPolicy
impl Clone for CrossOriginOpenerPolicy
Source§fn clone(&self) -> CrossOriginOpenerPolicy
fn clone(&self) -> CrossOriginOpenerPolicy
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 CrossOriginOpenerPolicy
impl Debug for CrossOriginOpenerPolicy
Source§impl<'de> Deserialize<'de> for CrossOriginOpenerPolicy
impl<'de> Deserialize<'de> for CrossOriginOpenerPolicy
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 Display for CrossOriginOpenerPolicy
impl Display for CrossOriginOpenerPolicy
Auto Trait Implementations§
impl Freeze for CrossOriginOpenerPolicy
impl RefUnwindSafe for CrossOriginOpenerPolicy
impl Send for CrossOriginOpenerPolicy
impl Sync for CrossOriginOpenerPolicy
impl Unpin for CrossOriginOpenerPolicy
impl UnwindSafe for CrossOriginOpenerPolicy
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