pub struct SearchSessionsQuery {
pub filters: SessionFilters,
pub sort_by: Option<SessionSortField>,
pub sort_order: Option<SortOrder>,
pub limit: Option<usize>,
pub offset: Option<usize>,
}
Expand description
Search sessions by criteria
Fields§
§filters: SessionFilters
§sort_by: Option<SessionSortField>
§sort_order: Option<SortOrder>
§limit: Option<usize>
§offset: Option<usize>
Trait Implementations§
Source§impl Clone for SearchSessionsQuery
impl Clone for SearchSessionsQuery
Source§fn clone(&self) -> SearchSessionsQuery
fn clone(&self) -> SearchSessionsQuery
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 SearchSessionsQuery
impl Debug for SearchSessionsQuery
Source§impl<'de> Deserialize<'de> for SearchSessionsQuery
impl<'de> Deserialize<'de> for SearchSessionsQuery
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<R> QueryHandler<SearchSessionsQuery, SessionsResponse> for SessionQueryHandler<R>
impl<R> QueryHandler<SearchSessionsQuery, SessionsResponse> for SessionQueryHandler<R>
fn handle<'life0, 'async_trait>(
&'life0 self,
query: SearchSessionsQuery,
) -> Pin<Box<dyn Future<Output = ApplicationResult<SessionsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SearchSessionsQuery
impl RefUnwindSafe for SearchSessionsQuery
impl Send for SearchSessionsQuery
impl Sync for SearchSessionsQuery
impl Unpin for SearchSessionsQuery
impl UnwindSafe for SearchSessionsQuery
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