#[repr(C)]pub struct _cef_cookie_t {Show 13 fields
pub size: usize,
pub name: cef_string_t,
pub value: cef_string_t,
pub domain: cef_string_t,
pub path: cef_string_t,
pub secure: c_int,
pub httponly: c_int,
pub creation: cef_basetime_t,
pub last_access: cef_basetime_t,
pub has_expires: c_int,
pub expires: cef_basetime_t,
pub same_site: cef_cookie_same_site_t,
pub priority: cef_cookie_priority_t,
}Expand description
Cookie information.
Fields§
§size: usizeSize of this structure.
name: cef_string_tThe cookie name.
value: cef_string_tThe cookie value.
domain: cef_string_tIf |domain| is empty a host cookie will be created instead of a domain cookie. Domain cookies are stored with a leading “.” and are visible to sub-domains whereas host cookies are not.
path: cef_string_tIf |path| is non-empty only URLs at or below the path will get the cookie value.
secure: c_intIf |secure| is true the cookie will only be sent for HTTPS requests.
httponly: c_intIf |httponly| is true the cookie will only be sent for HTTP requests.
creation: cef_basetime_tThe cookie creation date. This is automatically populated by the system on cookie creation.
last_access: cef_basetime_tThe cookie last access date. This is automatically populated by the system on access.
has_expires: c_intThe cookie expiration date is only valid if |has_expires| is true.
expires: cef_basetime_t§same_site: cef_cookie_same_site_tSame site.
priority: cef_cookie_priority_tPriority.
Trait Implementations§
Source§fn clone(&self) -> _cef_cookie_t
fn clone(&self) -> _cef_cookie_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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