Trait CookiesInfo

Source
pub trait CookiesInfo {
    // Required methods
    fn name(&self) -> &str;
    fn value(&self) -> &str;
    fn path(&self) -> &str;
    fn domain(&self) -> &str;
    fn expiry(&self) -> Option<String>;
    fn is_secure(&self) -> bool;
    fn is_http_only(&self) -> bool;
    fn same_site(&self) -> SameSite;

    // Provided methods
    fn get_set_cookie_header(&self) -> String { ... }
    fn get_url(&self) -> String { ... }
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn value(&self) -> &str

Source

fn path(&self) -> &str

Source

fn domain(&self) -> &str

Source

fn expiry(&self) -> Option<String>

Source

fn is_secure(&self) -> bool

Source

fn is_http_only(&self) -> bool

Source

fn same_site(&self) -> SameSite

Provided Methods§

Implementors§