pub struct HarCookie {
pub name: String,
pub value: String,
pub path: Option<String>,
pub domain: Option<String>,
pub expires: Option<String>,
pub http_only: Option<bool>,
pub secure: Option<bool>,
pub same_site: Option<String>,
}Expand description
{ "name": "...", "value": "..." } cookie (comment/domain/etc tolerated).
Fields§
§name: String§value: String§path: Option<String>§domain: Option<String>§expires: Option<String>§http_only: Option<bool>§secure: Option<bool>§same_site: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarCookie
impl<'de> Deserialize<'de> for HarCookie
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 HarCookie
impl RefUnwindSafe for HarCookie
impl Send for HarCookie
impl Sync for HarCookie
impl Unpin for HarCookie
impl UnsafeUnpin for HarCookie
impl UnwindSafe for HarCookie
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