use super::*;
#[derive(Clone, Data, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct CookieBuilder {
#[set(type(AsRef<str>))]
pub name: CookieKey,
#[set(type(AsRef<str>))]
pub value: CookieValue,
#[set(skip)]
pub expires: Option<String>,
#[get(type(copy))]
#[set(skip)]
pub max_age: Option<i64>,
#[set(skip)]
pub domain: Option<String>,
#[set(skip)]
pub path: Option<String>,
#[get(type(copy))]
#[set(skip)]
pub secure: Option<bool>,
#[get(type(copy))]
#[set(skip)]
pub http_only: Option<bool>,
#[set(skip)]
pub same_site: Option<String>,
}
#[derive(Clone, Copy, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct Cookie;