pub struct MetaFilters {
pub start_ts: Option<String>,
pub end_ts: Option<String>,
pub sess_ids: Option<Vec<String>>,
pub thrd_ids: Option<Vec<String>>,
pub usernames: Option<Vec<String>>,
pub trxids: Option<Vec<String>>,
pub statements: Option<Vec<String>>,
pub appnames: Option<Vec<String>>,
pub client_ips: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
}Expand description
元数据过滤器 (Record-level)
Fields§
§start_ts: Option<String>§end_ts: Option<String>§sess_ids: Option<Vec<String>>§thrd_ids: Option<Vec<String>>§usernames: Option<Vec<String>>§trxids: Option<Vec<String>>§statements: Option<Vec<String>>§appnames: Option<Vec<String>>§client_ips: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for MetaFilters
impl Clone for MetaFilters
Source§fn clone(&self) -> MetaFilters
fn clone(&self) -> MetaFilters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaFilters
impl Debug for MetaFilters
Source§impl Default for MetaFilters
impl Default for MetaFilters
Source§fn default() -> MetaFilters
fn default() -> MetaFilters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetaFilters
impl<'de> Deserialize<'de> for MetaFilters
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
Auto Trait Implementations§
impl Freeze for MetaFilters
impl RefUnwindSafe for MetaFilters
impl Send for MetaFilters
impl Sync for MetaFilters
impl Unpin for MetaFilters
impl UnsafeUnpin for MetaFilters
impl UnwindSafe for MetaFilters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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