pub struct LogsParams {
pub proxy: Option<String>,
pub since_ts: i64,
pub limit: i64,
pub tool: Option<String>,
pub method: Option<String>,
pub session: Option<String>,
pub status: Option<String>,
pub error_code: Option<String>,
}Expand description
Filter parameters for the logs query.
Fields§
§proxy: Option<String>Proxy name to filter by (None = all proxies).
since_ts: i64Only rows newer than this unix ms timestamp.
limit: i64Maximum number of rows to return.
tool: Option<String>Filter to a specific tool name.
method: Option<String>Filter by MCP method (e.g., “tools/call”, “resources/read”).
session: Option<String>Filter by session ID.
status: Option<String>Filter by status (“ok”, “error”, “timeout”).
error_code: Option<String>Filter by JSON-RPC error code (e.g., “-32601”).
Auto 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