pub struct BrowserLogEntry {
pub level: String,
pub message: String,
pub timestamp: i64,
pub source: Option<String>,
}Expand description
One entry returned by the legacy POST /session/{id}/log endpoint.
chromedriver returns these when goog:loggingPrefs requests the
matching log type at session creation. The shape is the legacy Selenium
“log entry” object.
Fields§
§level: StringSeverity level (e.g. "INFO", "WARNING", "SEVERE", "DEBUG",
"FINE"). Drivers emit the SCREAMING form rather than the lowercase
CDP form.
message: StringLog message text. For console.* calls chromedriver formats this as
<source-url> <line> <column> <serialized message>.
timestamp: i64Timestamp in milliseconds since the Unix epoch.
source: Option<String>Optional source field (e.g. "console-api", "network",
"javascript"). Not all drivers populate it.
Trait Implementations§
Source§impl Clone for BrowserLogEntry
impl Clone for BrowserLogEntry
Source§fn clone(&self) -> BrowserLogEntry
fn clone(&self) -> BrowserLogEntry
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 BrowserLogEntry
impl Debug for BrowserLogEntry
Source§impl<'de> Deserialize<'de> for BrowserLogEntry
impl<'de> Deserialize<'de> for BrowserLogEntry
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 BrowserLogEntry
impl RefUnwindSafe for BrowserLogEntry
impl Send for BrowserLogEntry
impl Sync for BrowserLogEntry
impl Unpin for BrowserLogEntry
impl UnsafeUnpin for BrowserLogEntry
impl UnwindSafe for BrowserLogEntry
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