pub struct SessionListParams {
pub limit: Option<u32>,
pub cursor: Option<String>,
pub sort: Option<String>,
pub direction: Option<SortDirection>,
pub since: Option<String>,
pub until: Option<String>,
pub harness_id: Option<String>,
pub harness_session_id: Option<String>,
pub auth_subject: Option<String>,
}Expand description
GET /v1/sessions — the sessions listing.
Fields§
§limit: Option<u32>How many sessions to return.
cursor: Option<String>The cursor from a previous page’s next_cursor.
sort: Option<String>Which column to order by.
direction: Option<SortDirection>Which way to order it.
since: Option<String>Lower bound on activity, as an RFC 3339 timestamp.
until: Option<String>Upper bound on activity, as an RFC 3339 timestamp.
harness_id: Option<String>Only sessions captured from this harness.
harness_session_id: Option<String>Only the session with this harness-side id.
auth_subject: Option<String>Only sessions captured for this authenticated subject.
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 ContractParams for SessionListParams
impl ContractParams for SessionListParams
Source§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
impl Eq for SessionListParams
Source§impl PartialEq for SessionListParams
impl PartialEq for SessionListParams
impl StructuralPartialEq for SessionListParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.