pub struct ListSessionsResult {
pub next_cursor: Option<String>,
pub items: Vec<SessionSummary>,
}Expand description
Result of the listSessions command.
Fields§
§next_cursor: Option<String>Opaque cursor for the next page. Present when more entries exist beyond the returned page; absent signals the end of the collection. Pass it back as {@link PaginatedParams.cursor} to fetch the following page.
items: Vec<SessionSummary>The list of session summaries. The server SHOULD order them most-recently-modified first.
Trait Implementations§
Source§impl Clone for ListSessionsResult
impl Clone for ListSessionsResult
Source§fn clone(&self) -> ListSessionsResult
fn clone(&self) -> ListSessionsResult
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 ListSessionsResult
impl Debug for ListSessionsResult
Source§impl<'de> Deserialize<'de> for ListSessionsResult
impl<'de> Deserialize<'de> for ListSessionsResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListSessionsResult
impl PartialEq for ListSessionsResult
Source§fn eq(&self, other: &ListSessionsResult) -> bool
fn eq(&self, other: &ListSessionsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListSessionsResult
impl Serialize for ListSessionsResult
impl StructuralPartialEq for ListSessionsResult
Auto Trait Implementations§
impl Freeze for ListSessionsResult
impl RefUnwindSafe for ListSessionsResult
impl Send for ListSessionsResult
impl Sync for ListSessionsResult
impl Unpin for ListSessionsResult
impl UnsafeUnpin for ListSessionsResult
impl UnwindSafe for ListSessionsResult
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