Struct webdriver::response::Cookie
[−]
[src]
pub struct Cookie { pub name: String, pub value: String, pub path: Nullable<String>, pub domain: Nullable<String>, pub expiry: Nullable<Date>, pub secure: bool, pub httpOnly: bool, }
Fields
name: String
value: String
path: Nullable<String>
domain: Nullable<String>
expiry: Nullable<Date>
secure: bool
httpOnly: bool
Methods
impl Cookie
[src]
fn new(name: String,
value: String,
path: Nullable<String>,
domain: Nullable<String>,
expiry: Nullable<Date>,
secure: bool,
http_only: bool)
-> Cookie
value: String,
path: Nullable<String>,
domain: Nullable<String>,
expiry: Nullable<Date>,
secure: bool,
http_only: bool)
-> Cookie
Trait Implementations
impl Encodable for Cookie
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl PartialEq for Cookie
[src]
fn eq(&self, __arg_0: &Cookie) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cookie) -> bool
This method tests for !=
.
impl Debug for Cookie
[src]
impl Clone for Cookie
[src]
fn clone(&self) -> Cookie
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more