pub struct ContentSecurityPolicyIssueDetails {
pub blockedURL: Option<String>,
pub violatedDirective: String,
pub isReportOnly: bool,
pub contentSecurityPolicyViolationType: ContentSecurityPolicyViolationType,
pub frameAncestor: Option<AffectedFrame>,
pub sourceCodeLocation: Option<SourceCodeLocation>,
pub violatingNodeId: Option<BackendNodeId>,
}Fields§
§blockedURL: Option<String>The url not included in allowed sources.
violatedDirective: StringSpecific directive that is violated, causing the CSP issue.
isReportOnly: bool§contentSecurityPolicyViolationType: ContentSecurityPolicyViolationType§frameAncestor: Option<AffectedFrame>§sourceCodeLocation: Option<SourceCodeLocation>§violatingNodeId: Option<BackendNodeId>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 Default for ContentSecurityPolicyIssueDetails
impl Default for ContentSecurityPolicyIssueDetails
Source§fn default() -> ContentSecurityPolicyIssueDetails
fn default() -> ContentSecurityPolicyIssueDetails
Returns the “default value” for a type. Read more
Source§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
Auto Trait Implementations§
impl Freeze for ContentSecurityPolicyIssueDetails
impl RefUnwindSafe for ContentSecurityPolicyIssueDetails
impl Send for ContentSecurityPolicyIssueDetails
impl Sync for ContentSecurityPolicyIssueDetails
impl Unpin for ContentSecurityPolicyIssueDetails
impl UnsafeUnpin 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