[][src]Struct web_sys::SecurityPolicyViolationEventInit

#[repr(transparent)]
pub struct SecurityPolicyViolationEventInit { /* fields omitted */ }

The SecurityPolicyViolationEventInit dictionary

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

Methods

impl SecurityPolicyViolationEventInit[src]

pub fn new() -> SecurityPolicyViolationEventInit[src]

Construct a new SecurityPolicyViolationEventInit

This API requires the following crate features to be activated: SecurityPolicyViolationEventDisposition, SecurityPolicyViolationEventInit

pub fn bubbles(&mut self, val: bool) -> &mut Self[src]

Configure the bubbles field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn cancelable(&mut self, val: bool) -> &mut Self[src]

Configure the cancelable field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn composed(&mut self, val: bool) -> &mut Self[src]

Configure the composed field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn blocked_uri(&mut self, val: &str) -> &mut Self[src]

Configure the blockedURI field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn column_number(&mut self, val: i32) -> &mut Self[src]

Configure the columnNumber field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn disposition(
    &mut self,
    val: SecurityPolicyViolationEventDisposition
) -> &mut Self
[src]

Configure the disposition field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventDisposition, SecurityPolicyViolationEventInit

pub fn document_uri(&mut self, val: &str) -> &mut Self[src]

Configure the documentURI field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn effective_directive(&mut self, val: &str) -> &mut Self[src]

Configure the effectiveDirective field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn line_number(&mut self, val: i32) -> &mut Self[src]

Configure the lineNumber field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn original_policy(&mut self, val: &str) -> &mut Self[src]

Configure the originalPolicy field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn referrer(&mut self, val: &str) -> &mut Self[src]

Configure the referrer field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn sample(&mut self, val: &str) -> &mut Self[src]

Configure the sample field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn source_file(&mut self, val: &str) -> &mut Self[src]

Configure the sourceFile field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn status_code(&mut self, val: u16) -> &mut Self[src]

Configure the statusCode field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

pub fn violated_directive(&mut self, val: &str) -> &mut Self[src]

Configure the violatedDirective field of this object

This API requires the following crate features to be activated: SecurityPolicyViolationEventInit

Trait Implementations

impl AsRef<JsValue> for SecurityPolicyViolationEventInit[src]

impl Clone for SecurityPolicyViolationEventInit[src]

impl Debug for SecurityPolicyViolationEventInit[src]

impl From<SecurityPolicyViolationEventInit> for JsValue[src]

impl FromWasmAbi for SecurityPolicyViolationEventInit[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for SecurityPolicyViolationEventInit[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a SecurityPolicyViolationEventInit[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for SecurityPolicyViolationEventInit[src]

impl OptionFromWasmAbi for SecurityPolicyViolationEventInit[src]

impl OptionIntoWasmAbi for SecurityPolicyViolationEventInit[src]

impl<'a> OptionIntoWasmAbi for &'a SecurityPolicyViolationEventInit[src]

impl RefFromWasmAbi for SecurityPolicyViolationEventInit[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SecurityPolicyViolationEventInit>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for SecurityPolicyViolationEventInit[src]

Auto Trait Implementations

impl RefUnwindSafe for SecurityPolicyViolationEventInit

impl !Send for SecurityPolicyViolationEventInit

impl !Sync for SecurityPolicyViolationEventInit

impl Unpin for SecurityPolicyViolationEventInit

impl UnwindSafe for SecurityPolicyViolationEventInit

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.