pub struct GetSessionEventsQuery {
pub session_id: SessionIdDto,
pub since: Option<DateTime<Utc>>,
pub event_types: Option<Vec<String>>,
pub limit: Option<usize>,
}
Expand description
Get events for a session
Fields§
§session_id: SessionIdDto
§since: Option<DateTime<Utc>>
§event_types: Option<Vec<String>>
§limit: Option<usize>
Trait Implementations§
Source§impl Clone for GetSessionEventsQuery
impl Clone for GetSessionEventsQuery
Source§fn clone(&self) -> GetSessionEventsQuery
fn clone(&self) -> GetSessionEventsQuery
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 GetSessionEventsQuery
impl Debug for GetSessionEventsQuery
Source§impl<'de> Deserialize<'de> for GetSessionEventsQuery
impl<'de> Deserialize<'de> for GetSessionEventsQuery
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<E> QueryHandler<GetSessionEventsQuery, EventsResponse> for EventQueryHandler<E>
impl<E> QueryHandler<GetSessionEventsQuery, EventsResponse> for EventQueryHandler<E>
fn handle<'life0, 'async_trait>(
&'life0 self,
query: GetSessionEventsQuery,
) -> Pin<Box<dyn Future<Output = ApplicationResult<EventsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for GetSessionEventsQuery
impl RefUnwindSafe for GetSessionEventsQuery
impl Send for GetSessionEventsQuery
impl Sync for GetSessionEventsQuery
impl Unpin for GetSessionEventsQuery
impl UnwindSafe for GetSessionEventsQuery
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