pub struct ContentSecurityPolicyIssueDetails { /* private fields */ }Available on crate features
experimental and Audits and Network only.Implementations§
Source§impl ContentSecurityPolicyIssueDetails
impl ContentSecurityPolicyIssueDetails
pub fn builder() -> ContentSecurityPolicyIssueDetailsBuilder
Sourcepub fn blocked_url(&self) -> Option<&String>
pub fn blocked_url(&self) -> Option<&String>
The url not included in allowed sources.
Sourcepub fn violated_directive(&self) -> &str
pub fn violated_directive(&self) -> &str
Specific directive that is violated, causing the CSP issue.
pub fn is_report_only(&self) -> bool
pub fn content_security_policy_violation_type( &self, ) -> &ContentSecurityPolicyViolationType
pub fn frame_ancestor(&self) -> Option<&AffectedFrame>
pub fn source_code_location(&self) -> Option<&SourceCodeLocation>
pub fn violating_node_id(&self) -> 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<'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 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