Struct twitch_api2::helix::eventsub::GetEventSubSubscriptionsRequest[][src]

#[non_exhaustive]pub struct GetEventSubSubscriptionsRequest {
    pub status: Option<Status>,
    pub after: Option<Cursor>,
    pub first: Option<usize>,
}
This is supported on crate features helix and eventsub only.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
status: Option<Status>

Include this parameter to filter subscriptions by their status.

after: Option<Cursor>

Cursor for forward pagination

first: Option<usize>

Maximum number of objects to return. Maximum: 100. Default: 20.

Implementations

impl GetEventSubSubscriptionsRequest[src]

pub fn builder() -> GetEventSubSubscriptionsRequestBuilder<((), (), ())>[src]

Create a builder for building GetEventSubSubscriptionsRequest. On the builder, call .status(...)(optional), .after(...)(optional), .first(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of GetEventSubSubscriptionsRequest.

Trait Implementations

impl Clone for GetEventSubSubscriptionsRequest[src]

impl Debug for GetEventSubSubscriptionsRequest[src]

impl Paginated for GetEventSubSubscriptionsRequest[src]

impl PartialEq<GetEventSubSubscriptionsRequest> for GetEventSubSubscriptionsRequest[src]

impl Request for GetEventSubSubscriptionsRequest[src]

type Response = Vec<EventSubSubscription>

Response type. twitch's response will deserialize to this.

impl RequestGet for GetEventSubSubscriptionsRequest[src]

impl Serialize for GetEventSubSubscriptionsRequest[src]

impl StructuralPartialEq for GetEventSubSubscriptionsRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> WithSubscriber for T[src]