Struct isahc::cookies::Cookie [−][src]
pub struct Cookie { /* fields omitted */ }
Expand description
Information stored about an HTTP cookie.
Comparison operators
You can use the equals operator to compare the value of a cookie with a string directly for convenience. In other words, this:
ⓘ
assert_eq!(cookie.value(), "foo");
is equivalent to this:
ⓘ
assert_eq!(cookie, "foo");
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cookie
impl UnwindSafe for Cookie
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more