pub struct HttpCookie {
pub name: String,
pub value: Option<String>,
pub position: usize,
}
Expand description
Represents an HTTP cookie
Fields§
§name: String
§value: Option<String>
§position: usize
Position in the cookie header (0-based)
Trait Implementations§
Source§impl Clone for HttpCookie
impl Clone for HttpCookie
Source§fn clone(&self) -> HttpCookie
fn clone(&self) -> HttpCookie
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 moreSource§impl Debug for HttpCookie
impl Debug for HttpCookie
Source§impl PartialEq for HttpCookie
impl PartialEq for HttpCookie
impl StructuralPartialEq for HttpCookie
Auto Trait Implementations§
impl Freeze for HttpCookie
impl RefUnwindSafe for HttpCookie
impl Send for HttpCookie
impl Sync for HttpCookie
impl Unpin for HttpCookie
impl UnwindSafe for HttpCookie
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