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>With Self::harness_session_id, narrows the point lookup to the
single session with this harness id. Rejected alone (400): a harness
id names a harness, not a session.
harness_session_id: Option<String>Only sessions with this harness-side id (exact match). Alone it
matches across all harnesses — at most one row per harness; with
Self::harness_id it is a single-harness point lookup. The server
refuses either combined with cursor, sort, direction, since,
or until (400), and ignores limit while the filter is active.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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
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
key and return true if they are equal.