CookiesInfo

Trait CookiesInfo 

Source
pub trait CookiesInfo {
Show 14 methods // 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; fn creation(&self) -> Option<DateTime<Utc>>; fn expires(&self) -> Option<DateTime<Utc>>; // Provided methods fn csv_header<D: Display>(sep: D) -> String { ... } fn to_csv<D: Display>(&self, sep: D) -> String { ... } fn set_cookie_header(&self) -> String { ... } fn 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

Source

fn creation(&self) -> Option<DateTime<Utc>>

Source

fn expires(&self) -> Option<DateTime<Utc>>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§