pub struct LogsParams {
pub action: LogsAction,
pub since: Option<f64>,
pub filter: Option<String>,
pub limit: Option<usize>,
pub threshold_ms: Option<u64>,
pub webview_label: Option<String>,
}Expand description
Parameters for the compound logs tool (console, network, ipc, navigation, dialogs, events).
Fields§
§action: LogsActionAction to perform: console, network, ipc, navigation, dialogs, events, slow_ipc.
since: Option<f64>Only return entries after this Unix timestamp in milliseconds (for console, events).
filter: Option<String>Filter by URL substring (for network).
limit: Option<usize>Maximum number of entries to return (for ipc, network, slow_ipc).
threshold_ms: Option<u64>Threshold in milliseconds for slow IPC calls (for slow_ipc).
webview_label: Option<String>Target webview label.
Trait Implementations§
Source§impl Debug for LogsParams
impl Debug for LogsParams
Source§impl<'de> Deserialize<'de> for LogsParams
impl<'de> Deserialize<'de> for LogsParams
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
Source§impl JsonSchema for LogsParams
impl JsonSchema for LogsParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LogsParams
impl RefUnwindSafe for LogsParams
impl Send for LogsParams
impl Sync for LogsParams
impl Unpin for LogsParams
impl UnsafeUnpin for LogsParams
impl UnwindSafe for LogsParams
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