Trait twitch_api2::helix::Request [−][src]
This is supported on crate feature
helix
only.A request is a Twitch endpoint, see New Twitch API reference
Associated Types
type Response: DeserializeOwned + PartialEq
[src]
Response type. twitch's response will deserialize to this.
Associated Constants
const PATH: &'static str
[src]
The path to the endpoint relative to the helix root. eg. channels
for Get Channel Information
const SCOPE: &'static [Scope]
[src]
Scopes needed by this endpoint
const OPT_SCOPE: &'static [Scope]
[src]
Optional scopes needed by this endpoint
Provided methods
fn query(&self) -> Result<String, Error>
[src]
Defines layout of the url parameters.
fn get_uri(&self) -> Result<Uri, InvalidUri>
[src]
Returns full URI for the request, including query parameters.
fn get_bare_uri() -> Result<Uri, InvalidUri>
[src]
Returns bare URI for the request, NOT including query parameters.
Implementors
impl Request for GetBitsLeaderboardRequest
[src]
impl Request for GetCheermotesRequest
[src]
impl Request for GetChannelEditorsRequest
[src]
impl Request for GetChannelInformationRequest
[src]
type Response = Option<ChannelInformation>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for ModifyChannelInformationRequest
[src]
type Response = ModifyChannelInformation
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for StartCommercialRequest
[src]
type Response = Vec<StartCommercial>
FIXME: Make non-vec
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetClipsRequest
[src]
impl Request for DeleteEventSubSubscriptionRequest
[src]
This is supported on crate feature
eventsub
only.type Response = DeleteEventSubSubscription
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetEventSubSubscriptionsRequest
[src]
This is supported on crate feature
eventsub
only.type Response = Vec<EventSubSubscription>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetGamesRequest
[src]
impl Request for GetTopGamesRequest
[src]
impl Request for GetHypeTrainEventsRequest
[src]
impl Request for CheckAutoModStatusRequest
[src]
type Response = Vec<CheckAutoModStatus>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetBannedEventsRequest
[src]
impl Request for GetBannedUsersRequest
[src]
impl Request for GetModeratorEventsRequest
[src]
impl Request for GetModeratorsRequest
[src]
impl Request for GetCustomRewardRedemptionRequest
[src]
type Response = Vec<CustomRewardRedemption>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for UpdateRedemptionStatusRequest
[src]
type Response = UpdateRedemptionStatusInformation
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for SearchCategoriesRequest
[src]
impl Request for SearchChannelsRequest
[src]
impl Request for GetStreamTagsRequest
[src]
impl Request for GetStreamsRequest
[src]
impl Request for GetBroadcasterSubscriptionsEventsRequest
[src]
type Response = Vec<BroadcasterSubscriptionEvent>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetBroadcasterSubscriptionsRequest
[src]
type Response = Vec<BroadcasterSubscription>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetAllStreamTagsRequest
[src]
impl Request for BlockUserRequest
[src]
type Response = BlockUser
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for CreateUserFollowsRequest
[src]
type Response = CreateUserFollows
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for DeleteUserFollowsRequest
[src]
type Response = DeleteUserFollow
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetUserBlockListRequest
[src]
type Response = Vec<UserBlock>
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetUsersFollowsRequest
[src]
type Response = Vec<UsersFollow>
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for GetUsersRequest
[src]
type Response = Vec<User>
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for UnblockUserRequest
[src]
type Response = UnblockUser
const OPT_SCOPE: &'static [Scope]
[src]
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl Request for DeleteVideosRequest
[src]
impl Request for GetVideosRequest
[src]
impl Request for GetWebhookSubscriptionsRequest
[src]
type Response = Vec<WebhookSubscription>
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
impl<E: EventSubscription> Request for CreateEventSubSubscriptionRequest<E>
[src]
This is supported on crate feature
eventsub
only.