Trait twitch_api2::helix::RequestDelete [−][src]
pub trait RequestDelete: Request { fn create_request(
&self,
token: &str,
client_id: &str
) -> Result<Request<Vec<u8>>, CreateRequestError> { ... } fn parse_response(
uri: &Uri,
response: Response<Vec<u8>>
) -> Result<Self::Response, HelixRequestDeleteError>
where
Self::Response: TryFrom<StatusCode, Error = Cow<'static, str>>,
Self: Sized, { ... } }
This is supported on crate feature
helix
only.Helix endpoint DELETEs information
Provided methods
fn create_request(
&self,
token: &str,
client_id: &str
) -> Result<Request<Vec<u8>>, CreateRequestError>
[src]
&self,
token: &str,
client_id: &str
) -> Result<Request<Vec<u8>>, CreateRequestError>
Create a http::Request
from this Request
in your client
fn parse_response(
uri: &Uri,
response: Response<Vec<u8>>
) -> Result<Self::Response, HelixRequestDeleteError> where
Self::Response: TryFrom<StatusCode, Error = Cow<'static, str>>,
Self: Sized,
[src]
uri: &Uri,
response: Response<Vec<u8>>
) -> Result<Self::Response, HelixRequestDeleteError> where
Self::Response: TryFrom<StatusCode, Error = Cow<'static, str>>,
Self: Sized,
Parse response.
Implementors
impl RequestDelete for DeleteEventSubSubscriptionRequest
[src]
This is supported on crate feature
eventsub
only.