[][src]Struct pubnub_core::data::presence::GlobalInfo

pub struct GlobalInfo<T: RespondWith> {
    pub total_channels: u64,
    pub total_occupancy: u64,
    pub channels: HashMap<Name, T::Response>,
}

Represents the global info returned from global here now call.

Fields

total_channels: u64

The total number of channels.

total_occupancy: u64

The total occupancy across all the channels.

channels: HashMap<Name, T::Response>

Per-channel info.

Trait Implementations

impl<T: Clone + RespondWith> Clone for GlobalInfo<T> where
    T::Response: Clone
[src]

impl<T: Debug + RespondWith> Debug for GlobalInfo<T> where
    T::Response: Debug
[src]

impl<T: Eq + RespondWith> Eq for GlobalInfo<T> where
    T::Response: Eq
[src]

impl<T: PartialEq + RespondWith> PartialEq<GlobalInfo<T>> for GlobalInfo<T> where
    T::Response: PartialEq
[src]

impl<T: RespondWith> StructuralEq for GlobalInfo<T>[src]

impl<T: RespondWith> StructuralPartialEq for GlobalInfo<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for GlobalInfo<T> where
    <T as RespondWith>::Response: RefUnwindSafe

impl<T> Send for GlobalInfo<T> where
    <T as RespondWith>::Response: Send

impl<T> Sync for GlobalInfo<T> where
    <T as RespondWith>::Response: Sync

impl<T> Unpin for GlobalInfo<T> where
    <T as RespondWith>::Response: Unpin

impl<T> UnwindSafe for GlobalInfo<T> where
    <T as RespondWith>::Response: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,