Trait twitch_api2::helix::HelixRequestBody[][src]

pub trait HelixRequestBody {
    fn try_to_body(&self) -> Result<Vec<u8>, BodyError>;
}
This is supported on crate feature helix only.

Create a body. Used for specializing request bodies

Required methods

fn try_to_body(&self) -> Result<Vec<u8>, BodyError>[src]

Create the body

Loading content...

Implementations on Foreign Types

impl HelixRequestBody for Vec<CheckAutoModStatusBody>[src]

Loading content...

Implementors

impl HelixRequestBody for EmptyBody[src]

impl<E: EventSubscription> HelixRequestBody for CreateEventSubSubscriptionBody<E>[src]

This is supported on crate feature eventsub only.

impl<T> HelixRequestBody for T where
    T: Serialize + SealedSerialize, 
[src]

impl<T: Topic> HelixRequestBody for WebhookHubBody<T>[src]

Loading content...