pub struct Occupancy {
pub connections: u64,
pub presence_members: u64,
}Expand description
Occupancy metrics for a room.
Fields§
§connections: u64The number of connections to the room.
presence_members: u64The number of members currently present in the room.
Trait Implementations§
impl Copy for Occupancy
Source§impl<'de> Deserialize<'de> for Occupancy
impl<'de> Deserialize<'de> for Occupancy
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
Auto Trait Implementations§
impl Freeze for Occupancy
impl RefUnwindSafe for Occupancy
impl Send for Occupancy
impl Sync for Occupancy
impl Unpin for Occupancy
impl UnsafeUnpin for Occupancy
impl UnwindSafe for Occupancy
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