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: StringSpecific 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§
Source§impl ContentSecurityPolicyIssueDetails
impl ContentSecurityPolicyIssueDetails
pub const IDENTIFIER: &'static str = "Audits.ContentSecurityPolicyIssueDetails"
Trait Implementations§
Source§impl Clone for ContentSecurityPolicyIssueDetails
impl Clone for ContentSecurityPolicyIssueDetails
Source§fn clone(&self) -> ContentSecurityPolicyIssueDetails
fn clone(&self) -> ContentSecurityPolicyIssueDetails
Returns a duplicate 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<'de> Deserialize<'de> for ContentSecurityPolicyIssueDetails
impl<'de> Deserialize<'de> for ContentSecurityPolicyIssueDetails
Source§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
Source§impl PartialEq for ContentSecurityPolicyIssueDetails
impl PartialEq for ContentSecurityPolicyIssueDetails
Source§fn eq(&self, other: &ContentSecurityPolicyIssueDetails) -> bool
fn eq(&self, other: &ContentSecurityPolicyIssueDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentSecurityPolicyIssueDetails
Auto Trait Implementations§
impl Freeze for ContentSecurityPolicyIssueDetails
impl RefUnwindSafe for ContentSecurityPolicyIssueDetails
impl Send for ContentSecurityPolicyIssueDetails
impl Sync for ContentSecurityPolicyIssueDetails
impl Unpin for ContentSecurityPolicyIssueDetails
impl UnwindSafe for ContentSecurityPolicyIssueDetails
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