pub struct OccupancyHandle { /* private fields */ }Expand description
Implementations§
Source§impl OccupancyHandle
impl OccupancyHandle
Sourcepub fn get(&self) -> GetOccupancy
pub fn get(&self) -> GetOccupancy
Fetches the current occupancy metrics for the room.
GET /chat/v4/rooms/{roomName}/occupancy. Retry-safe.
Trait Implementations§
Source§impl Clone for OccupancyHandle
impl Clone for OccupancyHandle
Source§fn clone(&self) -> OccupancyHandle
fn clone(&self) -> OccupancyHandle
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for OccupancyHandle
impl !UnwindSafe for OccupancyHandle
impl Freeze for OccupancyHandle
impl Send for OccupancyHandle
impl Sync for OccupancyHandle
impl Unpin for OccupancyHandle
impl UnsafeUnpin for OccupancyHandle
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