pub struct ListSessionsParams {
pub channel: Uri,
pub filter: Option<AnyValue>,
}Expand description
Returns a list of session summaries. Used to populate session lists and sidebars.
The session list is not part of the state tree because it can be arbitrarily
large. Clients fetch it imperatively and maintain a local cache updated by
root/sessionAdded and root/sessionRemoved notifications.
Fields§
§channel: UriChannel URI this command targets.
filter: Option<AnyValue>Optional filter criteria
Trait Implementations§
Source§impl Clone for ListSessionsParams
impl Clone for ListSessionsParams
Source§fn clone(&self) -> ListSessionsParams
fn clone(&self) -> ListSessionsParams
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 ListSessionsParams
impl Debug for ListSessionsParams
Source§impl<'de> Deserialize<'de> for ListSessionsParams
impl<'de> Deserialize<'de> for ListSessionsParams
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 ListSessionsParams
impl PartialEq for ListSessionsParams
Source§fn eq(&self, other: &ListSessionsParams) -> bool
fn eq(&self, other: &ListSessionsParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListSessionsParams
impl Serialize for ListSessionsParams
impl StructuralPartialEq for ListSessionsParams
Auto Trait Implementations§
impl Freeze for ListSessionsParams
impl RefUnwindSafe for ListSessionsParams
impl Send for ListSessionsParams
impl Sync for ListSessionsParams
impl Unpin for ListSessionsParams
impl UnsafeUnpin for ListSessionsParams
impl UnwindSafe for ListSessionsParams
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