pub struct EventQuery {
pub table: String,
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub partition: Option<PartitionKind>,
pub pagination: GridPaginationModel,
pub sort: Vec<GridSortItem>,
pub filter: GridFilterModel,
}Expand description
Row-oriented event log query (DataGrid / event log view).
Fields§
§table: StringEvent table name.
start: DateTime<Utc>Inclusive range start timestamp.
end: DateTime<Utc>Inclusive range end timestamp.
partition: Option<PartitionKind>Optional partition granularity.
pagination: GridPaginationModelPagination settings.
sort: Vec<GridSortItem>Column sort order (first entry wins).
filter: GridFilterModelRow filter model.
Trait Implementations§
Source§impl Clone for EventQuery
impl Clone for EventQuery
Source§impl Debug for EventQuery
impl Debug for EventQuery
Source§impl<'de> Deserialize<'de> for EventQuery
impl<'de> Deserialize<'de> for EventQuery
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 EventQuery
impl RefUnwindSafe for EventQuery
impl Send for EventQuery
impl Sync for EventQuery
impl Unpin for EventQuery
impl UnsafeUnpin for EventQuery
impl UnwindSafe for EventQuery
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