pub struct CookieRecord {
pub name: String,
pub value: String,
pub max_age: Option<i64>,
pub expires: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
pub secure: bool,
pub http_only: bool,
pub same_site: Option<String>,
}Expand description
Cookie の属性情報
Fields§
§name: String§value: String§max_age: Option<i64>§expires: Option<String>§domain: Option<String>§path: Option<String>§secure: bool§http_only: bool§same_site: Option<String>Implementations§
Source§impl CookieRecord
impl CookieRecord
Sourcepub fn is_expired(&self) -> bool
pub fn is_expired(&self) -> bool
期限切れ(削除対象)かどうかを判定する。
Trait Implementations§
Source§impl Clone for CookieRecord
impl Clone for CookieRecord
Source§impl Debug for CookieRecord
impl Debug for CookieRecord
Source§impl Default for CookieRecord
impl Default for CookieRecord
impl Eq for CookieRecord
Source§impl PartialEq for CookieRecord
impl PartialEq for CookieRecord
impl StructuralPartialEq for CookieRecord
Auto Trait Implementations§
impl Freeze for CookieRecord
impl RefUnwindSafe for CookieRecord
impl Send for CookieRecord
impl Sync for CookieRecord
impl Unpin for CookieRecord
impl UnsafeUnpin for CookieRecord
impl UnwindSafe for CookieRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.