Struct chromiumoxide_cdp::cdp::browser_protocol::log::LogEntry [−][src]
pub struct LogEntry { pub source: LogEntrySource, pub level: LogEntryLevel, pub text: String, pub timestamp: Timestamp, pub url: Option<String>, pub line_number: Option<i64>, pub stack_trace: Option<StackTrace>, pub network_request_id: Option<RequestId>, pub worker_id: Option<String>, pub args: Option<Vec<RemoteObject>>, }
Expand description
Log entry. LogEntry
Fields
source: LogEntrySource
Log entry source.
level: LogEntryLevel
Log entry severity.
text: String
Logged text.
timestamp: Timestamp
Timestamp when this entry was added.
url: Option<String>
URL of the resource if known.
line_number: Option<i64>
Line number in the resource.
stack_trace: Option<StackTrace>
JavaScript stack trace.
network_request_id: Option<RequestId>
Identifier of the network request associated with this entry.
worker_id: Option<String>
Identifier of the worker associated with this entry.
args: Option<Vec<RemoteObject>>
Call arguments.
Implementations
pub fn new(
source: impl Into<LogEntrySource>,
level: impl Into<LogEntryLevel>,
text: impl Into<String>,
timestamp: impl Into<Timestamp>
) -> Self
Trait Implementations
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 RefUnwindSafe for LogEntry
impl UnwindSafe for LogEntry
Blanket Implementations
Mutably borrows from an owned value. Read more