Struct chromiumoxide_cdp::cdp::browser_protocol::audits::ContentSecurityPolicyIssueDetails [−][src]
pub struct ContentSecurityPolicyIssueDetails { pub blocked_url: Option<String>, pub violated_directive: String, pub is_report_only: bool, pub content_security_policy_violation_type: ContentSecurityPolicyViolationType, pub frame_ancestor: Option<AffectedFrame>, pub source_code_location: Option<SourceCodeLocation>, pub violating_node_id: Option<BackendNodeId>, }
Fields
blocked_url: Option<String>
The url not included in allowed sources.
violated_directive: String
Specific directive that is violated, causing the CSP issue.
is_report_only: bool
content_security_policy_violation_type: ContentSecurityPolicyViolationType
frame_ancestor: Option<AffectedFrame>
source_code_location: Option<SourceCodeLocation>
violating_node_id: Option<BackendNodeId>
Implementations
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 ContentSecurityPolicyIssueDetails
impl Sync for ContentSecurityPolicyIssueDetails
impl Unpin for ContentSecurityPolicyIssueDetails
Blanket Implementations
Mutably borrows from an owned value. Read more