pub struct CookieInfo {
pub name: String,
pub value: String,
pub domain: Option<String>,
pub path: Option<String>,
pub expires: Option<f64>,
pub secure: Option<bool>,
pub same_site: Option<String>,
}Expand description
Cookie information.
Fields§
§name: StringCookie name.
value: StringCookie value.
domain: Option<String>Cookie domain.
path: Option<String>Cookie path.
expires: Option<f64>Expiry timestamp.
secure: Option<bool>Secure flag.
same_site: Option<String>SameSite attribute.
Trait Implementations§
Source§impl Clone for CookieInfo
impl Clone for CookieInfo
Source§fn clone(&self) -> CookieInfo
fn clone(&self) -> CookieInfo
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 moreSource§impl Debug for CookieInfo
impl Debug for CookieInfo
Source§impl<'de> Deserialize<'de> for CookieInfo
impl<'de> Deserialize<'de> for CookieInfo
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 CookieInfo
impl RefUnwindSafe for CookieInfo
impl Send for CookieInfo
impl Sync for CookieInfo
impl Unpin for CookieInfo
impl UnsafeUnpin for CookieInfo
impl UnwindSafe for CookieInfo
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