pub struct RawCookie {
pub name: String,
pub value: String,
pub domain: String,
pub path: String,
pub expires: f64,
pub deleted: bool,
}Expand description
A cookie parsed from a Set-Cookie response header.
Fields§
§name: String§value: String§domain: String§path: String§expires: f64Unix seconds; 0 for a session cookie (no Max-Age/Expires we understood).
deleted: boolMax-Age<=0 or an Expires in the past: the server deleted it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RawCookie
impl Freeze for RawCookie
impl RefUnwindSafe for RawCookie
impl Send for RawCookie
impl Sync for RawCookie
impl Unpin for RawCookie
impl UnsafeUnpin for RawCookie
impl UnwindSafe for RawCookie
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