Struct chromiumoxide_cdp::cdp::browser_protocol::network::CrossOriginEmbedderPolicyStatus [−][src]
pub struct CrossOriginEmbedderPolicyStatus { pub value: CrossOriginEmbedderPolicyValue, pub report_only_value: CrossOriginEmbedderPolicyValue, pub reporting_endpoint: Option<String>, pub report_only_reporting_endpoint: Option<String>, }
Fields
value: CrossOriginEmbedderPolicyValue
report_only_value: CrossOriginEmbedderPolicyValue
reporting_endpoint: Option<String>
report_only_reporting_endpoint: Option<String>
Implementations
pub fn new(
value: impl Into<CrossOriginEmbedderPolicyValue>,
report_only_value: impl Into<CrossOriginEmbedderPolicyValue>
) -> Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CrossOriginEmbedderPolicyStatus
impl Sync for CrossOriginEmbedderPolicyStatus
impl Unpin for CrossOriginEmbedderPolicyStatus
Blanket Implementations
Mutably borrows from an owned value. Read more