[][src]Struct pubnub_core::data::request::Subscribe

pub struct Subscribe {
    pub channels: Vec<Name>,
    pub channel_groups: Vec<Name>,
    pub timetoken: Timetoken,
}

Subscribe to messages on channels and/or channel groups.

Fields

channels: Vec<Name>

The channel names you are subscribing to.

channel_groups: Vec<Name>

The channel group names you are subscribing to.

timetoken: Timetoken

A timetoken to use. tt: 0 (zero) for the initial subscribe, or a valid timetoken if resuming / continuing / fast-forwarding from a previous subscribe flow. tr: Region as returned from the initial call with tt=0.

Trait Implementations

impl Clone for Subscribe[src]

impl Debug for Subscribe[src]

impl Eq for Subscribe[src]

impl PartialEq<Subscribe> for Subscribe[src]

impl Service<Subscribe> for MockTransport[src]

type Response = Subscribe

Response given by the service.

type Error = MockTransportError

Error produced by the service.

impl StructuralEq for Subscribe[src]

impl StructuralPartialEq for Subscribe[src]

Auto Trait Implementations

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>,