pub struct ListMeSessionsResponse {
pub items: Vec<ActiveSession>,
pub sessions: Option<Vec<ActiveSession>>,
pub total: i64,
}Expand description
ListMeSessionsResponse model.
Fields§
§items: Vec<ActiveSession>§sessions: Option<Vec<ActiveSession>>Legacy alias for items, byte-identical to it on the wire. It was described as a formless
array while items carried the full shape, so a generated client saw one usable list and
one bag of JSON for the same data.
total: i64Trait Implementations§
Source§impl Clone for ListMeSessionsResponse
impl Clone for ListMeSessionsResponse
Source§fn clone(&self) -> ListMeSessionsResponse
fn clone(&self) -> ListMeSessionsResponse
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 ListMeSessionsResponse
impl Debug for ListMeSessionsResponse
Source§impl Default for ListMeSessionsResponse
impl Default for ListMeSessionsResponse
Source§fn default() -> ListMeSessionsResponse
fn default() -> ListMeSessionsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListMeSessionsResponse
impl<'de> Deserialize<'de> for ListMeSessionsResponse
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 ListMeSessionsResponse
impl PartialEq for ListMeSessionsResponse
Source§impl Serialize for ListMeSessionsResponse
impl Serialize for ListMeSessionsResponse
impl StructuralPartialEq for ListMeSessionsResponse
Auto Trait Implementations§
impl Freeze for ListMeSessionsResponse
impl RefUnwindSafe for ListMeSessionsResponse
impl Send for ListMeSessionsResponse
impl Sync for ListMeSessionsResponse
impl Unpin for ListMeSessionsResponse
impl UnsafeUnpin for ListMeSessionsResponse
impl UnwindSafe for ListMeSessionsResponse
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