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 maxAge: Nullable<Date>,
    pub secure: bool,
    pub httpOnly: bool,
}

Fields

name: String value: String path: Nullable<String> domain: Nullable<String> expiry: Nullable<Date> maxAge: 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>, max_age: Nullable<Date>, secure: bool, http_only: bool) -> Cookie

Trait Implementations

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

impl Debug for Cookie
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 Encodable for Cookie
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>