Struct LogSearchRequest
pub struct LogSearchRequest {
pub log_level: LogSeverityDef,
pub oldest_timestamp_ms: u64,
pub newest_timestamp_ms: u64,
pub n_limit: u32,
pub plugin_name: Option<String>,
pub service: Option<String>,
pub search_query: Option<String>,
}Fields§
§log_level: LogSeverityDef§oldest_timestamp_ms: u64§newest_timestamp_ms: u64§n_limit: u32§plugin_name: Option<String>§service: Option<String>§search_query: Option<String>Trait Implementations§
§impl ComposeSchema for LogSearchRequest
impl ComposeSchema for LogSearchRequest
§impl Debug for LogSearchRequest
impl Debug for LogSearchRequest
§impl<'de> Deserialize<'de> for LogSearchRequest
impl<'de> Deserialize<'de> for LogSearchRequest
§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
§impl From<LogSearchRequest> for LogSearchContext<'static>
impl From<LogSearchRequest> for LogSearchContext<'static>
§fn from(val: LogSearchRequest) -> Self
fn from(val: LogSearchRequest) -> Self
Converts to this type from the input type.
§impl IntoParams for LogSearchRequest
impl IntoParams for LogSearchRequest
§impl Serialize for LogSearchRequest
impl Serialize for LogSearchRequest
Auto Trait Implementations§
impl Freeze for LogSearchRequest
impl RefUnwindSafe for LogSearchRequest
impl Send for LogSearchRequest
impl Sync for LogSearchRequest
impl Unpin for LogSearchRequest
impl UnwindSafe for LogSearchRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more