pub struct XssProtection { /* private fields */ }Implementations§
Source§impl XssProtection
impl XssProtection
pub const ZERO: XssProtection
Trait Implementations§
Source§impl Clone for XssProtection
impl Clone for XssProtection
Source§fn clone(&self) -> XssProtection
fn clone(&self) -> XssProtection
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 IntoSecurityHeader for XssProtection
impl IntoSecurityHeader for XssProtection
fn into_header(self) -> (HeaderName, HeaderValue)
Auto Trait Implementations§
impl !Freeze for XssProtection
impl RefUnwindSafe for XssProtection
impl Send for XssProtection
impl Sync for XssProtection
impl Unpin for XssProtection
impl UnsafeUnpin for XssProtection
impl UnwindSafe for XssProtection
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