Struct browser_window::prelude::CookieImpl
source · pub struct CookieImpl { /* private fields */ }
Trait Implementations§
source§impl CookieExt for CookieImpl
impl CookieExt for CookieImpl
fn creation_time(&self) -> SystemTime
fn expires(&self) -> Option<SystemTime>
fn domain<'a>(&'a self) -> Cow<'a, str>
fn free(&mut self)
fn is_http_only(&self) -> bool
fn is_secure(&self) -> bool
fn name<'a>(&'a self) -> Cow<'a, str>
fn new(name: &str, value: &str) -> CookieImpl
fn path<'a>(&'a self) -> Cow<'a, str>
fn value<'a>(&'a self) -> Cow<'a, str>
fn make_http_only(&mut self) -> &mut CookieImpl
fn make_secure(&mut self) -> &mut CookieImpl
fn set_creation_time(&mut self, time: &SystemTime) -> &mut CookieImpl
fn set_expires(&mut self, time: &SystemTime) -> &mut CookieImpl
fn set_domain(&mut self, domain: &str) -> &mut CookieImpl
fn set_name(&mut self, name: &str) -> &mut CookieImpl
fn set_path(&mut self, path: &str) -> &mut CookieImpl
fn set_value(&mut self, value: &str) -> &mut CookieImpl
Auto Trait Implementations§
impl RefUnwindSafe for CookieImpl
impl !Send for CookieImpl
impl !Sync for CookieImpl
impl Unpin for CookieImpl
impl UnwindSafe for CookieImpl
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