Struct httpc_test::Cookie
source · pub struct Cookie {
pub name: String,
pub value: String,
pub http_only: bool,
pub secure: bool,
pub same_site_lax: bool,
pub same_site_strict: bool,
pub path: Option<String>,
pub max_age: Option<Duration>,
pub expires: Option<SystemTime>,
}Fields§
§name: String§value: String§http_only: bool§secure: bool§same_site_lax: bool§same_site_strict: bool§path: Option<String>§max_age: Option<Duration>§expires: Option<SystemTime>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Cookie
impl Send for Cookie
impl Sync for Cookie
impl Unpin 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