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) -> Self
fn path<'a>(&'a self) -> Cow<'a, str>
fn value<'a>(&'a self) -> Cow<'a, str>
fn make_http_only(&mut self) -> &mut Self
fn make_secure(&mut self) -> &mut Self
fn set_creation_time(&mut self, time: &SystemTime) -> &mut Self
fn set_expires(&mut self, time: &SystemTime) -> &mut Self
fn set_domain(&mut self, domain: &str) -> &mut Self
fn set_name(&mut self, name: &str) -> &mut Self
fn set_path(&mut self, path: &str) -> &mut Self
fn set_value(&mut self, value: &str) -> &mut Self
Auto Trait Implementations§
impl Freeze for CookieImpl
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