[][src]Struct rttp_client::types::Cookie

pub struct Cookie { /* fields omitted */ }

Methods

impl Cookie[src]

pub fn name(&self) -> &String[src]

pub fn value(&self) -> &String[src]

pub fn expires(&self) -> &Option<SystemTime>[src]

pub fn path(&self) -> &Option<String>[src]

pub fn domain(&self) -> &Option<String>[src]

pub fn secure(&self) -> bool[src]

pub fn http_only(&self) -> bool[src]

pub fn persistent(&self) -> bool[src]

pub fn host_only(&self) -> bool[src]

pub fn same_site(&self) -> &Option<String>[src]

pub fn string(&self) -> String[src]

impl Cookie[src]

pub fn builder() -> CookieBuilder[src]

pub fn parse<S: AsRef<str>>(text: S) -> Result<Self>[src]

Trait Implementations

impl AsRef<Cookie> for Cookie[src]

impl Clone for Cookie[src]

impl Display for Cookie[src]

impl Debug for Cookie[src]

Auto Trait Implementations

impl Send for Cookie

impl Sync for Cookie

impl Unpin for Cookie

impl UnwindSafe for Cookie

impl RefUnwindSafe for Cookie

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,