Struct chrome_remote_interface_model::log::LogEntryBuilder[][src]

pub struct LogEntryBuilder { /* fields omitted */ }
This is supported on crate features Log and Runtime and Network only.

Implementations

impl LogEntryBuilder[src]

pub fn source(&mut self, v: LogEntrySource) -> &mut Self[src]

Log entry source.

pub fn level(&mut self, v: LogEntryLevel) -> &mut Self[src]

Log entry severity.

pub fn text(&mut self, v: String) -> &mut Self[src]

Logged text.

pub fn timestamp(&mut self, v: Timestamp) -> &mut Self[src]

Timestamp when this entry was added.

pub fn url(&mut self, v: String) -> &mut Self[src]

URL of the resource if known.

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

Line number in the resource.

pub fn stack_trace(&mut self, v: StackTrace) -> &mut Self[src]

JavaScript stack trace.

pub fn network_request_id(&mut self, v: RequestId) -> &mut Self[src]

Identifier of the network request associated with this entry.

pub fn worker_id(&mut self, v: String) -> &mut Self[src]

Identifier of the worker associated with this entry.

pub fn args(&mut self, v: Vec<RemoteObject>) -> &mut Self[src]

Call arguments.

pub fn build(&mut self) -> Result<LogEntry, &'static str>[src]

Trait Implementations

impl Clone for LogEntryBuilder[src]

impl Debug for LogEntryBuilder[src]

impl Default for LogEntryBuilder[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> 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.