pub struct ConsoleMessage {
pub level: String,
pub text: String,
pub url: Option<String>,
pub line: Option<u64>,
}Expand description
A console.* call captured via BrowserAgent::capture_console.
Fields§
§level: StringConsole method used, e.g. "log", "warn", "error".
text: StringFirst stringified argument passed to the console call.
url: Option<String>Source file the call originated from, if available.
line: Option<u64>Source line the call originated from, if available.
Trait Implementations§
Source§impl Clone for ConsoleMessage
impl Clone for ConsoleMessage
Auto Trait Implementations§
impl Freeze for ConsoleMessage
impl RefUnwindSafe for ConsoleMessage
impl Send for ConsoleMessage
impl Sync for ConsoleMessage
impl Unpin for ConsoleMessage
impl UnsafeUnpin for ConsoleMessage
impl UnwindSafe for ConsoleMessage
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