pub struct SessionFilter {
pub created_after: Option<DateTime<Utc>>,
pub created_before: Option<DateTime<Utc>>,
pub updated_after: Option<DateTime<Utc>>,
pub updated_before: Option<DateTime<Utc>>,
pub metadata_filters: HashMap<String, String>,
pub status_filter: Option<SessionStatus>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub order_by: SessionOrderBy,
pub order_direction: OrderDirection,
}Expand description
Filter for listing sessions
Fields§
§created_after: Option<DateTime<Utc>>Filter by creation date range
created_before: Option<DateTime<Utc>>§updated_after: Option<DateTime<Utc>>Filter by last update date range
updated_before: Option<DateTime<Utc>>§metadata_filters: HashMap<String, String>Filter by metadata key-value pairs
status_filter: Option<SessionStatus>Filter by session status
limit: Option<u32>Pagination
offset: Option<u32>§order_by: SessionOrderByOrdering
order_direction: OrderDirectionTrait Implementations§
Source§impl Clone for SessionFilter
impl Clone for SessionFilter
Source§fn clone(&self) -> SessionFilter
fn clone(&self) -> SessionFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionFilter
impl Debug for SessionFilter
Source§impl Default for SessionFilter
impl Default for SessionFilter
Source§fn default() -> SessionFilter
fn default() -> SessionFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionFilter
impl RefUnwindSafe for SessionFilter
impl Send for SessionFilter
impl Sync for SessionFilter
impl Unpin for SessionFilter
impl UnsafeUnpin for SessionFilter
impl UnwindSafe for SessionFilter
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request