Trait twitch_api2::helix::webhooks::topics::Topic [−][src]
This is supported on crate feature
helix
only.A webhook topic.
Associated Types
type Helix: RequestGet + Request
[src]
Helix response
Associated Constants
const PATH: &'static str
[src]
URL of topic sans https://api.twitch.tv/helix/
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.
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,
Parse payload received on webhook.
Forwards to RequestGet::parse_response