pub struct Occupancy {
pub connections: i32,
pub presence_members: i32,
}Expand description
Occupancy : Occupancy metrics for a room.
Fields§
§connections: i32The number of connections to the room.
presence_members: i32The number of members currently present in the room.
Implementations§
Trait Implementations§
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
impl StructuralPartialEq for Occupancy
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