pub struct SessionsListRequest {
pub filter: Option<SessionListFilter>,
pub include_detached: Option<bool>,
pub metadata_limit: Option<i64>,
pub source: Option<SessionSource>,
pub throw_on_error: Option<bool>,
}Expand description
Optional source filter, metadata-load limit, and context filter applied to the returned sessions.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§filter: Option<SessionListFilter>Optional filter applied to the returned sessions
include_detached: Option<bool>When true, include detached maintenance sessions. Defaults to false for user-facing session lists.
metadata_limit: Option<i64>When provided, only the first N local sessions (sorted by modification time, newest first) load full metadata; remaining sessions return basic info only. Use 0 to return only basic info for every local session. Has no effect on remote entries (which always carry their full shape).
source: Option<SessionSource>Which session sources to include. Defaults to local for backward compatibility.
throw_on_error: Option<bool>Only meaningful when source includes remote. When true, propagates errors from the remote service instead of silently returning an empty remote list. Defaults to false.
Trait Implementations§
Source§impl Clone for SessionsListRequest
impl Clone for SessionsListRequest
Source§fn clone(&self) -> SessionsListRequest
fn clone(&self) -> SessionsListRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more