pub struct CookieSecurityInfo {
pub secure_flag: bool,
pub httponly_flag: bool,
pub samesite_attribute: bool,
pub security_score: u32,
pub security_level: String,
pub recommendations: Vec<String>,
}Available on crate feature
web-technologies only.Fields§
§secure_flag: bool§httponly_flag: bool§samesite_attribute: bool§security_score: u32§security_level: String§recommendations: Vec<String>Trait Implementations§
Source§impl Clone for CookieSecurityInfo
impl Clone for CookieSecurityInfo
Source§fn clone(&self) -> CookieSecurityInfo
fn clone(&self) -> CookieSecurityInfo
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 Debug for CookieSecurityInfo
impl Debug for CookieSecurityInfo
Source§impl<'de> Deserialize<'de> for CookieSecurityInfo
impl<'de> Deserialize<'de> for CookieSecurityInfo
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
Auto Trait Implementations§
impl Freeze for CookieSecurityInfo
impl RefUnwindSafe for CookieSecurityInfo
impl Send for CookieSecurityInfo
impl Sync for CookieSecurityInfo
impl Unpin for CookieSecurityInfo
impl UnsafeUnpin for CookieSecurityInfo
impl UnwindSafe for CookieSecurityInfo
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