pub struct ConsoleMessageLocation {
pub url: String,
pub line_number: i32,
pub column_number: i32,
}Expand description
The source location of a console message.
Contains the URL, line number, and column number of the JavaScript code that produced the console message.
See: https://playwright.dev/docs/api/class-consolemessage#console-message-location
Fields§
§url: StringThe URL of the resource that produced the console message.
line_number: i32The line number in the resource (1-based).
column_number: i32The column number in the resource (0-based).
Trait Implementations§
Source§impl Clone for ConsoleMessageLocation
impl Clone for ConsoleMessageLocation
Source§fn clone(&self) -> ConsoleMessageLocation
fn clone(&self) -> ConsoleMessageLocation
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 moreAuto Trait Implementations§
impl Freeze for ConsoleMessageLocation
impl RefUnwindSafe for ConsoleMessageLocation
impl Send for ConsoleMessageLocation
impl Sync for ConsoleMessageLocation
impl Unpin for ConsoleMessageLocation
impl UnsafeUnpin for ConsoleMessageLocation
impl UnwindSafe for ConsoleMessageLocation
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