pub struct TraceLogsQuery {
pub limit: Option<usize>,
pub search: Option<String>,
}Expand description
Query parameters for GET /api/traces/{trace_id}/logs
Fields§
§limit: Option<usize>Maximum number of log results (default: 100, max: 1000)
search: Option<String>Full-text search in log body (e.g. “api_request_body” to find request metadata)
Trait Implementations§
Source§impl Debug for TraceLogsQuery
impl Debug for TraceLogsQuery
Source§impl<'de> Deserialize<'de> for TraceLogsQuery
impl<'de> Deserialize<'de> for TraceLogsQuery
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 IntoParams for TraceLogsQuery
impl IntoParams for TraceLogsQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for TraceLogsQuery
impl RefUnwindSafe for TraceLogsQuery
impl Send for TraceLogsQuery
impl Sync for TraceLogsQuery
impl Unpin for TraceLogsQuery
impl UnsafeUnpin for TraceLogsQuery
impl UnwindSafe for TraceLogsQuery
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