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<Occupancy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Occupancy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Occupancy
impl Serialize for Occupancy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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