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
Trait Implementations
impl Clone for UserFollowsTopic
[src]
impl Clone for UserFollowsTopic
[src]fn clone(&self) -> UserFollowsTopic
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for UserFollowsTopic
[src]
impl<'de> Deserialize<'de> for UserFollowsTopic
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<UserFollowsTopic> for UserFollowsTopic
[src]
impl PartialEq<UserFollowsTopic> for UserFollowsTopic
[src]fn eq(&self, other: &UserFollowsTopic) -> bool
[src]
fn ne(&self, other: &UserFollowsTopic) -> bool
[src]
impl Serialize for UserFollowsTopic
[src]
impl Serialize for UserFollowsTopic
[src]impl StructuralPartialEq for UserFollowsTopic
[src]
impl StructuralPartialEq for UserFollowsTopic
[src]impl Topic for UserFollowsTopic
[src]
impl Topic for UserFollowsTopic
[src]type Helix = GetUsersFollowsRequest
Helix response
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
const OPT_SCOPE: &'static [Scope]
[src]
fn query(&self) -> Result<String, Error>
[src]
fn get_uri(&self) -> Result<Uri, InvalidUri>
[src]
fn get_bare_uri() -> Result<Uri, InvalidUri>
[src]
fn parse_payload(
response: Response<Vec<u8>>
) -> Result<Response<Self::Helix, <Self::Helix as Request>::Response>, HelixRequestGetError> where
Self: Sized,
[src]
response: Response<Vec<u8>>
) -> Result<Response<Self::Helix, <Self::Helix as Request>::Response>, HelixRequestGetError> where
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for UserFollowsTopic
impl RefUnwindSafe for UserFollowsTopic
impl Send for UserFollowsTopic
impl Send for UserFollowsTopic
impl Sync for UserFollowsTopic
impl Sync for UserFollowsTopic
impl Unpin for UserFollowsTopic
impl Unpin for UserFollowsTopic
impl UnwindSafe for UserFollowsTopic
impl UnwindSafe for UserFollowsTopic
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,