pub struct StatsSessions {
pub active_sessions: Option<HashMap<String, Vec<StatsUser>>>,
}Fields§
§active_sessions: Option<HashMap<String, Vec<StatsUser>>>ActiveSessions maps a workspace uuid to its connected sessions. It carries only the token’s OWN workspace, and is empty for a token that names none.
Implementations§
Source§impl StatsSessions
impl StatsSessions
pub fn new() -> StatsSessions
Trait Implementations§
Source§impl Clone for StatsSessions
impl Clone for StatsSessions
Source§fn clone(&self) -> StatsSessions
fn clone(&self) -> StatsSessions
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 StatsSessions
impl Debug for StatsSessions
Source§impl Default for StatsSessions
impl Default for StatsSessions
Source§fn default() -> StatsSessions
fn default() -> StatsSessions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatsSessions
impl<'de> Deserialize<'de> for StatsSessions
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 StatsSessions
impl PartialEq for StatsSessions
Source§impl Serialize for StatsSessions
impl Serialize for StatsSessions
impl StructuralPartialEq for StatsSessions
Auto Trait Implementations§
impl Freeze for StatsSessions
impl RefUnwindSafe for StatsSessions
impl Send for StatsSessions
impl Sync for StatsSessions
impl Unpin for StatsSessions
impl UnsafeUnpin for StatsSessions
impl UnwindSafe for StatsSessions
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