pub struct Cookies<'a>(/* private fields */);Implementations§
Source§impl<'a> Cookies<'a>
impl<'a> Cookies<'a>
pub fn new(cookies_str: &'a str) -> Self
pub fn get(&self, name: &str) -> Option<&'a str>
pub fn set<'b, I>( iter: I, name: &'b str, value: &'b str, ) -> impl Iterator<Item = (&'b str, &'b str)>
pub fn remove<'b, I>( iter: I, name: &'b str, ) -> impl Iterator<Item = (&'b str, &'b str)>
pub fn serialize<'b, I>(iter: I) -> impl Iterator<Item = &'b str>
Trait Implementations§
Source§impl<'a> IntoIterator for Cookies<'a>
impl<'a> IntoIterator for Cookies<'a>
Auto Trait Implementations§
impl<'a> Freeze for Cookies<'a>
impl<'a> RefUnwindSafe for Cookies<'a>
impl<'a> Send for Cookies<'a>
impl<'a> Sync for Cookies<'a>
impl<'a> Unpin for Cookies<'a>
impl<'a> UnsafeUnpin for Cookies<'a>
impl<'a> UnwindSafe for Cookies<'a>
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