pub struct CookieBuilder { /* private fields */ }
Implementations§
source§impl CookieBuilder
impl CookieBuilder
pub fn name<S: ToString>(self, name: S) -> Self
pub fn value<S: ToString>(self, value: S) -> Self
pub fn domain<S: ToString>(self, domain: S) -> Self
pub fn path<S: ToString>(self, path: S) -> Self
pub fn expires(self, expires: u64) -> Self
pub fn build(self) -> [OptionalStringNumber; 5]
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CookieBuilder
impl Send for CookieBuilder
impl Sync for CookieBuilder
impl Unpin for CookieBuilder
impl UnwindSafe for CookieBuilder
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