Struct chrome_remote_interface_model::log::LogEntryBuilder [−][src]
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]
fn clone(&self) -> LogEntryBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LogEntryBuilder
[src]
impl Default for LogEntryBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogEntryBuilder
[src]
impl Send for LogEntryBuilder
[src]
impl Sync for LogEntryBuilder
[src]
impl Unpin for LogEntryBuilder
[src]
impl UnwindSafe for LogEntryBuilder
[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>,