pub struct ConsoleEvent {
pub level: String,
pub text: String,
pub args: Vec<Value>,
pub location: Option<ConsoleLocation>,
pub time: f64,
pub page_id: Option<String>,
}Expand description
Browser console output captured during the trace.
Fields§
§level: String"log", "warn", "error", "info", "debug", etc. Kept as
a string because Playwright extends this set; matching at the
call site keeps us forward-compatible.
text: String§args: Vec<Value>§location: Option<ConsoleLocation>§time: f64§page_id: Option<String>Trait Implementations§
Source§impl Clone for ConsoleEvent
impl Clone for ConsoleEvent
Source§fn clone(&self) -> ConsoleEvent
fn clone(&self) -> ConsoleEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConsoleEvent
impl Debug for ConsoleEvent
Source§impl<'de> Deserialize<'de> for ConsoleEvent
impl<'de> Deserialize<'de> for ConsoleEvent
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 ConsoleEvent
impl RefUnwindSafe for ConsoleEvent
impl Send for ConsoleEvent
impl Sync for ConsoleEvent
impl Unpin for ConsoleEvent
impl UnsafeUnpin for ConsoleEvent
impl UnwindSafe for ConsoleEvent
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