pub struct Cookie {
pub name: String,
pub http_only: bool,
pub secure: bool,
/* private fields */
}Expand description
Cookie value scoped to an origin.
Fields§
§name: StringCookie name.
http_only: boolWhether the cookie should be withheld from scripts.
secure: boolWhether the cookie requires HTTPS.
Implementations§
Trait Implementations§
impl Eq for Cookie
impl StructuralPartialEq for Cookie
Auto Trait Implementations§
impl Freeze for Cookie
impl RefUnwindSafe for Cookie
impl Send for Cookie
impl Sync for Cookie
impl Unpin for Cookie
impl UnsafeUnpin for Cookie
impl UnwindSafe for Cookie
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