Struct chrome_remote_interface_model::audits::ContentSecurityPolicyIssueDetailsBuilder [−][src]
This is supported on crate features
experimental
and Audits
and Network
only.Implementations
impl ContentSecurityPolicyIssueDetailsBuilder
[src]
pub fn blocked_url(&mut self, v: String) -> &mut Self
[src]
The url not included in allowed sources.
pub fn violated_directive(&mut self, v: String) -> &mut Self
[src]
Specific directive that is violated, causing the CSP issue.
pub fn is_report_only(&mut self, v: bool) -> &mut Self
[src]
pub fn content_security_policy_violation_type(
&mut self,
v: ContentSecurityPolicyViolationType
) -> &mut Self
[src]
&mut self,
v: ContentSecurityPolicyViolationType
) -> &mut Self
pub fn frame_ancestor(&mut self, v: AffectedFrame) -> &mut Self
[src]
pub fn source_code_location(&mut self, v: SourceCodeLocation) -> &mut Self
[src]
pub fn violating_node_id(&mut self, v: BackendNodeId) -> &mut Self
[src]
pub fn build(
&mut self
) -> Result<ContentSecurityPolicyIssueDetails, &'static str>
[src]
&mut self
) -> Result<ContentSecurityPolicyIssueDetails, &'static str>
Trait Implementations
impl Clone for ContentSecurityPolicyIssueDetailsBuilder
[src]
fn clone(&self) -> ContentSecurityPolicyIssueDetailsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContentSecurityPolicyIssueDetailsBuilder
[src]
impl Default for ContentSecurityPolicyIssueDetailsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContentSecurityPolicyIssueDetailsBuilder
[src]
impl Send for ContentSecurityPolicyIssueDetailsBuilder
[src]
impl Sync for ContentSecurityPolicyIssueDetailsBuilder
[src]
impl Unpin for ContentSecurityPolicyIssueDetailsBuilder
[src]
impl UnwindSafe for ContentSecurityPolicyIssueDetailsBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,