Struct twitch_api2::helix::users::get_users_follows::UsersFollow[][src]

#[non_exhaustive]pub struct UsersFollow {
    pub followed_at: Timestamp,
    pub from_id: UserId,
    pub from_name: DisplayName,
    pub from_login: UserName,
    pub to_id: UserId,
    pub to_name: DisplayName,
    pub total: Option<usize>,
}
This is supported on crate feature helix 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.
followed_at: Timestamp

Date and time when the from_id user followed the to_id user.

from_id: UserId

ID of the user following the to_id user.

from_name: DisplayName

Display name corresponding to from_id.

from_login: UserName

Login of the user following the to_id user.

to_id: UserId

ID of the user being followed by the from_id user.

to_name: DisplayName

Display name corresponding to to_id.

total: Option<usize>

Total number of items returned.

  • If only from_id was in the request, this is the total number of followed users.
  • If only to_id was in the request, this is the total number of followers.
  • If both from_id and to_id were in the request, this is 1 (if the "from" user follows the "to" user) or 0.

Trait Implementations

impl Clone for UsersFollow[src]

impl Debug for UsersFollow[src]

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

impl PartialEq<UsersFollow> for UsersFollow[src]

impl Serialize for UsersFollow[src]

impl StructuralPartialEq for UsersFollow[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> 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]