pub struct SessionListParams {
pub page: Option<u32>,
pub per_page: Option<u32>,
pub cursor: Option<String>,
pub query: Option<String>,
pub room_id: Option<String>,
pub custom_room_id: Option<String>,
pub user_id: Option<String>,
pub start_date: Option<i64>,
pub end_date: Option<i64>,
pub status: Option<SessionStatus>,
}Expand description
The query parameters for SessionsResource::list.
Fields§
§page: Option<u32>The 1-based page number.
per_page: Option<u32>Items per page.
cursor: Option<String>An opaque cursor from a previous page. Overrides page and per_page.
query: Option<String>An exact match on the room’s room_id or custom_room_id.
room_id: Option<String>Filters by room id.
custom_room_id: Option<String>Filters by custom room id.
user_id: Option<String>Scopes to a specific user. Admin tokens only.
start_date: Option<i64>Filters by session start, in epoch milliseconds. Start of the range.
end_date: Option<i64>Filters by session start, in epoch milliseconds. End of the range.
status: Option<SessionStatus>Filters by lifecycle state.
Trait Implementations§
Source§impl Clone for SessionListParams
impl Clone for SessionListParams
Source§fn clone(&self) -> SessionListParams
fn clone(&self) -> SessionListParams
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 SessionListParams
impl Debug for SessionListParams
Source§impl Default for SessionListParams
impl Default for SessionListParams
Source§fn default() -> SessionListParams
fn default() -> SessionListParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionListParams
impl RefUnwindSafe for SessionListParams
impl Send for SessionListParams
impl Sync for SessionListParams
impl Unpin for SessionListParams
impl UnsafeUnpin for SessionListParams
impl UnwindSafe for SessionListParams
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