Struct chrome_remote_interface_model::network::BlockedSetCookieWithReason[][src]

pub struct BlockedSetCookieWithReason { /* fields omitted */ }
This is supported on crate features Network and Debugger and Runtime and Security and experimental only.

A cookie which was not stored from a response with the corresponding reason.

Implementations

impl BlockedSetCookieWithReason[src]

pub fn new(
    blocked_reasons: Vec<JsonValue>,
    cookie_line: String,
    cookie: Option<Cookie>
) -> Self
[src]

pub fn blocked_reasons(&self) -> &[JsonValue]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

The reason(s) this cookie was blocked.

pub fn cookie_line(&self) -> &str[src]

The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.

pub fn cookie(&self) -> Option<&Cookie>[src]

The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.

Trait Implementations

impl Clone for BlockedSetCookieWithReason[src]

impl Debug for BlockedSetCookieWithReason[src]

impl<'de> Deserialize<'de> for BlockedSetCookieWithReason[src]

impl Serialize for BlockedSetCookieWithReason[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.