#[non_exhaustive]pub struct SessionListResult {
pub sessions: Vec<Session>,
pub next_cursor: Option<String>,
pub applied_filter: Option<SessionListFilter>,
}Expand description
session/list result. Ordering is updatedAt descending.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sessions: Vec<Session>The page of stored sessions.
next_cursor: Option<String>The next page’s cursor; null on the last page.
applied_filter: Option<SessionListFilter>The canonical filter the server applied, present exactly when the
request carried filter. The probe is per-predicate PRESENCE: a client
that requires filtering checks that every predicate it sent comes back
as a member here, and treats a missing member as unsupported. Value
equality is the wrong test — canonicalization trims, lowercases,
NFC-normalizes, dedupes and sorts, so the echoed values often differ
from the sent ones on a correctly filtered page.
Trait Implementations§
Source§impl Clone for SessionListResult
impl Clone for SessionListResult
Source§impl Debug for SessionListResult
impl Debug for SessionListResult
Source§impl<'de> Deserialize<'de> for SessionListResult
impl<'de> Deserialize<'de> for SessionListResult
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
impl Eq for SessionListResult
Source§impl PartialEq for SessionListResult
impl PartialEq for SessionListResult
Source§impl Serialize for SessionListResult
impl Serialize for SessionListResult
impl StructuralPartialEq for SessionListResult
Auto Trait Implementations§
impl Freeze for SessionListResult
impl RefUnwindSafe for SessionListResult
impl Send for SessionListResult
impl Sync for SessionListResult
impl Unpin for SessionListResult
impl UnsafeUnpin for SessionListResult
impl UnwindSafe for SessionListResult
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