Struct twitch_api2::helix::webhooks::topics::users::user_follows::UserFollowsTopic[][src]

pub struct UserFollowsTopic {
    pub from_id: Option<UserId>,
    pub to_id: Option<UserId>,
    // some fields omitted
}
This is supported on crate feature helix only.

Notifies when a follows event occurs Topic: User Follows

Fields

from_id: Option<UserId>

Specifies the user who starts following someone.

to_id: Option<UserId>

Specifies the user who has a new follower.

Implementations

impl UserFollowsTopic[src]

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

Create a builder for building UserFollowsTopic. On the builder, call .from_id(...)(optional), .to_id(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of UserFollowsTopic.

Trait Implementations

impl Clone for UserFollowsTopic[src]

impl Debug for UserFollowsTopic[src]

impl<'de> Deserialize<'de> for UserFollowsTopic[src]

impl PartialEq<UserFollowsTopic> for UserFollowsTopic[src]

impl Serialize for UserFollowsTopic[src]

impl StructuralPartialEq for UserFollowsTopic[src]

impl Topic for UserFollowsTopic[src]

type Helix = GetUsersFollowsRequest

Helix response

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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]