Struct cookie::Cookie [] [src]

pub struct Cookie {
    pub name: String,
    pub value: String,
    pub expires: Option<Tm>,
    pub max_age: Option<u64>,
    pub domain: Option<String>,
    pub path: Option<String>,
    pub secure: bool,
    pub httponly: bool,
    pub custom: BTreeMap<String, String>,
}

Fields

Methods

impl Cookie
[src]

Trait Implementations

impl PartialEq for Cookie
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Cookie
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Cookie
[src]

Formats the value using the given formatter.

impl Display for Cookie
[src]

Formats the value using the given formatter.

impl FromStr for Cookie
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more