Struct chrome_remote_interface_model::network::Initiator[][src]

pub struct Initiator { /* fields omitted */ }
This is supported on crate features Network and Debugger and Runtime and Security only.

Information about the request initiator.

Implementations

impl Initiator[src]

pub fn builder() -> InitiatorBuilder[src]

pub fn type(&self) -> &InitiatorType[src]

Type of this initiator.

pub fn stack(&self) -> Option<&StackTrace>[src]

Initiator JavaScript stack trace, set for Script only.

pub fn url(&self) -> Option<&String>[src]

Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

pub fn line_number(&self) -> Option<&f64>[src]

Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).

pub fn column_number(&self) -> Option<&f64>[src]

Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).

Trait Implementations

impl Clone for Initiator[src]

impl Debug for Initiator[src]

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

impl Serialize for Initiator[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> 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.