pub struct ListSessionsOptions {
pub limit: Option<u32>,
pub cursor: Option<String>,
pub metadata: BTreeMap<String, String>,
}Expand description
Filters and paging for Sessions::list. The default lists the first page.
Fields§
§limit: Option<u32>Page size; None uses the gateway default.
cursor: Option<String>Continue from a previous page’s next_cursor.
metadata: BTreeMap<String, String>Keep sessions whose user_metadata has all these string values (at most
10 pairs; keys and values cannot contain a single quote).
Trait Implementations§
Source§impl Clone for ListSessionsOptions
impl Clone for ListSessionsOptions
Source§impl Debug for ListSessionsOptions
impl Debug for ListSessionsOptions
Auto Trait Implementations§
impl Forget for ListSessionsOptions
impl Freeze for ListSessionsOptions
impl RefUnwindSafe for ListSessionsOptions
impl Send for ListSessionsOptions
impl Sync for ListSessionsOptions
impl Unpin for ListSessionsOptions
impl UnsafeUnpin for ListSessionsOptions
impl UnwindSafe for ListSessionsOptions
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