[−][src]Struct twitch_api_rs::resource::channels::get_channel_information::GetChannelInformationRequest
Request builder for the Get Channel Information
endpoint
See module level documentation for usage.
Implementations
impl<A> GetChannelInformationRequest<A> where
A: AuthToken,
[src]
A: AuthToken,
pub fn set_auth(&mut self, auth: A) -> &mut Self
[src]
Set the authorization token for this request
pub fn set_broadcaster_id<B>(&mut self, broadcaster_id: B) -> &mut Self where
B: Into<BroadcasterId>,
[src]
B: Into<BroadcasterId>,
Set the broadcaster_id for whom you are requesting informaiton
Trait Implementations
impl<A: Clone> Clone for GetChannelInformationRequest<A> where
A: AuthToken,
[src]
A: AuthToken,
fn clone(&self) -> GetChannelInformationRequest<A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A: Debug> Debug for GetChannelInformationRequest<A> where
A: AuthToken,
[src]
A: AuthToken,
impl<A> ParametersExt for GetChannelInformationRequest<A> where
A: AuthToken,
[src]
A: AuthToken,
impl<A> Request for GetChannelInformationRequest<A> where
A: AuthToken + Sync,
[src]
A: AuthToken + Sync,
const ENDPOINT: &'static str
[src]
const METHOD: Method
[src]
type Headers = A
The type that represents the headers sent with this request
type Parameters = Self
The type that represents the query parameters sent with this request
type Body = ()
The type that represents the body of this request
type Response = GetChannelInformationResponse
The type returned by a sucessful request, must be DeserializeOwned
and have at least a static lifetime (owned). Read more
type ErrorCodes = CommonResponseCodes
The type that encapsulates the error codes that this endpoint can return, must have at least a static lifetime (owned). Read more
fn builder() -> Self
[src]
fn headers(&self) -> &Self::Headers
[src]
fn parameters(&self) -> &Self::Parameters
[src]
fn body(&self) -> &Self::Body
[src]
fn ready(&self) -> Result<(), RequestError<Self::ErrorCodes>>
[src]
#[must_use]fn make_request<'life0, 'async_trait, C>(
&'life0 self,
client: C
) -> Pin<Box<dyn Future<Output = Result<Self::Response, RequestError<Self::ErrorCodes>>> + Send + 'async_trait>> where
C: Borrow<Client> + Send,
C: 'async_trait,
'life0: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
client: C
) -> Pin<Box<dyn Future<Output = Result<Self::Response, RequestError<Self::ErrorCodes>>> + Send + 'async_trait>> where
C: Borrow<Client> + Send,
C: 'async_trait,
'life0: 'async_trait,
Self: Sync + 'async_trait,
impl<A> Serialize for GetChannelInformationRequest<A> where
A: AuthToken,
[src]
A: AuthToken,
Auto Trait Implementations
impl<A> RefUnwindSafe for GetChannelInformationRequest<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for GetChannelInformationRequest<A> where
A: Send,
A: Send,
impl<A> Sync for GetChannelInformationRequest<A> where
A: Sync,
A: Sync,
impl<A> Unpin for GetChannelInformationRequest<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for GetChannelInformationRequest<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Parameters for T where
T: ParametersExt,
[src]
T: ParametersExt,
pub fn write_parameters(&Self, RequestBuilder) -> RequestBuilder
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,