pub struct EntryAddedEvent { /* private fields */ }Available on crate features
Log and Runtime and Network only.Expand description
Issued when new message was logged.
Implementations§
Methods from Deref<Target = LogEntry>§
Sourcepub fn source(&self) -> &LogEntrySource
pub fn source(&self) -> &LogEntrySource
Log entry source.
Sourcepub fn level(&self) -> &LogEntryLevel
pub fn level(&self) -> &LogEntryLevel
Log entry severity.
Sourcepub fn line_number(&self) -> Option<&u32>
pub fn line_number(&self) -> Option<&u32>
Line number in the resource.
Sourcepub fn stack_trace(&self) -> Option<&StackTrace>
pub fn stack_trace(&self) -> Option<&StackTrace>
JavaScript stack trace.
Sourcepub fn network_request_id(&self) -> Option<&RequestId>
pub fn network_request_id(&self) -> Option<&RequestId>
Identifier of the network request associated with this entry.
Sourcepub fn worker_id(&self) -> Option<&String>
pub fn worker_id(&self) -> Option<&String>
Identifier of the worker associated with this entry.
Sourcepub fn args(&self) -> Option<&Vec<RemoteObject>>
pub fn args(&self) -> Option<&Vec<RemoteObject>>
Call arguments.
Trait Implementations§
Source§impl Clone for EntryAddedEvent
impl Clone for EntryAddedEvent
Source§fn clone(&self) -> EntryAddedEvent
fn clone(&self) -> EntryAddedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryAddedEvent
impl Debug for EntryAddedEvent
Source§impl Deref for EntryAddedEvent
impl Deref for EntryAddedEvent
Source§impl<'de> Deserialize<'de> for EntryAddedEvent
impl<'de> Deserialize<'de> for EntryAddedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntryAddedEvent
impl RefUnwindSafe for EntryAddedEvent
impl Send for EntryAddedEvent
impl Sync for EntryAddedEvent
impl Unpin for EntryAddedEvent
impl UnwindSafe for EntryAddedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more