[][src]Struct chromiumoxide::cdp::browser_protocol::audits::ContentSecurityPolicyIssueDetails

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: boolcontent_security_policy_violation_type: ContentSecurityPolicyViolationTypeframe_ancestor: Option<AffectedFrame>source_code_location: Option<SourceCodeLocation>violating_node_id: Option<BackendNodeId>

Implementations

impl ContentSecurityPolicyIssueDetails[src]

pub fn new(
    violated_directive: impl Into<String>,
    is_report_only: impl Into<bool>,
    content_security_policy_violation_type: impl Into<ContentSecurityPolicyViolationType>
) -> ContentSecurityPolicyIssueDetails
[src]

impl ContentSecurityPolicyIssueDetails[src]

impl ContentSecurityPolicyIssueDetails[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ContentSecurityPolicyIssueDetails[src]

impl Debug for ContentSecurityPolicyIssueDetails[src]

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

impl PartialEq<ContentSecurityPolicyIssueDetails> for ContentSecurityPolicyIssueDetails[src]

impl Serialize for ContentSecurityPolicyIssueDetails[src]

impl StructuralPartialEq for ContentSecurityPolicyIssueDetails[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,