pub struct CookieRecord {
pub name: String,
pub value: String,
pub domain: String,
pub path: String,
pub secure: bool,
pub http_only: bool,
pub same_site: Option<String>,
pub expires_unix: Option<f64>,
}Expand description
One cookie as returned by a cookie read on any engine.
Fields§
§name: String§value: String§domain: String§path: String§secure: bool§http_only: bool§same_site: Option<String>§expires_unix: Option<f64>Trait Implementations§
Source§impl Clone for CookieRecord
impl Clone for CookieRecord
Source§impl Debug for CookieRecord
impl Debug for CookieRecord
Source§impl Default for CookieRecord
impl Default for CookieRecord
Source§impl<'de> Deserialize<'de> for CookieRecord
impl<'de> Deserialize<'de> for CookieRecord
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 PartialEq for CookieRecord
impl PartialEq for CookieRecord
Source§impl Serialize for CookieRecord
impl Serialize for CookieRecord
impl StructuralPartialEq for CookieRecord
Auto Trait Implementations§
impl Freeze for CookieRecord
impl RefUnwindSafe for CookieRecord
impl Send for CookieRecord
impl Sync for CookieRecord
impl Unpin for CookieRecord
impl UnsafeUnpin for CookieRecord
impl UnwindSafe for CookieRecord
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