pub struct SessionListResponse {
pub sessions: Vec<Session>,
}Fields§
§sessions: Vec<Session>Implementations§
Source§impl SessionListResponse
impl SessionListResponse
pub fn new(sessions: Vec<Session>) -> SessionListResponse
Trait Implementations§
Source§impl Clone for SessionListResponse
impl Clone for SessionListResponse
Source§fn clone(&self) -> SessionListResponse
fn clone(&self) -> SessionListResponse
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 SessionListResponse
impl Debug for SessionListResponse
Source§impl Default for SessionListResponse
impl Default for SessionListResponse
Source§fn default() -> SessionListResponse
fn default() -> SessionListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionListResponse
impl<'de> Deserialize<'de> for SessionListResponse
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 SessionListResponse
impl PartialEq for SessionListResponse
Source§fn eq(&self, other: &SessionListResponse) -> bool
fn eq(&self, other: &SessionListResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionListResponse
impl Serialize for SessionListResponse
impl StructuralPartialEq for SessionListResponse
Auto Trait Implementations§
impl Freeze for SessionListResponse
impl RefUnwindSafe for SessionListResponse
impl Send for SessionListResponse
impl Sync for SessionListResponse
impl Unpin for SessionListResponse
impl UnsafeUnpin for SessionListResponse
impl UnwindSafe for SessionListResponse
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