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 { ... }
}