Struct chromiumoxide::cdp::browser_protocol::network::BlockedCookieWithReason
source · pub struct BlockedCookieWithReason {
pub blocked_reasons: Vec<CookieBlockedReason>,
pub cookie: Cookie,
}
Expand description
A cookie with was not sent with a request with the corresponding reason. BlockedCookieWithReason
Fields§
§blocked_reasons: Vec<CookieBlockedReason>
The reason(s) the cookie was blocked.
The cookie object representing the cookie which was not sent.
Implementations§
source§impl BlockedCookieWithReason
impl BlockedCookieWithReason
pub fn new( blocked_reasons: Vec<CookieBlockedReason>, cookie: impl Into<Cookie> ) -> BlockedCookieWithReason
source§impl BlockedCookieWithReason
impl BlockedCookieWithReason
pub const IDENTIFIER: &'static str = "Network.BlockedCookieWithReason"
Trait Implementations§
source§impl Clone for BlockedCookieWithReason
impl Clone for BlockedCookieWithReason
source§fn clone(&self) -> BlockedCookieWithReason
fn clone(&self) -> BlockedCookieWithReason
Returns a copy 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 BlockedCookieWithReason
impl Debug for BlockedCookieWithReason
source§impl<'de> Deserialize<'de> for BlockedCookieWithReason
impl<'de> Deserialize<'de> for BlockedCookieWithReason
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BlockedCookieWithReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BlockedCookieWithReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BlockedCookieWithReason
impl PartialEq for BlockedCookieWithReason
source§fn eq(&self, other: &BlockedCookieWithReason) -> bool
fn eq(&self, other: &BlockedCookieWithReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BlockedCookieWithReason
impl Serialize for BlockedCookieWithReason
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BlockedCookieWithReason
Auto Trait Implementations§
impl Freeze for BlockedCookieWithReason
impl RefUnwindSafe for BlockedCookieWithReason
impl Send for BlockedCookieWithReason
impl Sync for BlockedCookieWithReason
impl Unpin for BlockedCookieWithReason
impl UnwindSafe for BlockedCookieWithReason
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