pub trait Cookie:
Debug
+ Display
+ Sealed {
// Required methods
fn name(&self) -> &str;
fn value(&self) -> &str;
fn domain(&self) -> Option<&str>;
fn path(&self) -> Option<&str>;
fn max_age(&self) -> Option<Duration>;
fn http_only(&self) -> bool;
fn secure(&self) -> bool;
fn same_site(&self) -> Option<SameSite>;
}Expand description
Cookies in this crate implement this trait.