pub struct ConsoleEntry {
pub id: Option<String>,
pub level: String,
pub args: Vec<Value>,
pub timestamp: i64,
pub source: String,
}Expand description
A captured console log message.
Fields§
§id: Option<String>Unique entry identifier (6-char hex).
level: StringLog level: "log", "warn", "error", "debug", or "info".
args: Vec<Value>Serialized console arguments.
timestamp: i64Unix epoch milliseconds.
source: String"browser" or "server".
Trait Implementations§
Source§impl Clone for ConsoleEntry
impl Clone for ConsoleEntry
Source§fn clone(&self) -> ConsoleEntry
fn clone(&self) -> ConsoleEntry
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 ConsoleEntry
impl Debug for ConsoleEntry
Source§impl<'de> Deserialize<'de> for ConsoleEntry
impl<'de> Deserialize<'de> for ConsoleEntry
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 ConsoleEntry
impl RefUnwindSafe for ConsoleEntry
impl Send for ConsoleEntry
impl Sync for ConsoleEntry
impl Unpin for ConsoleEntry
impl UnsafeUnpin for ConsoleEntry
impl UnwindSafe for ConsoleEntry
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