Struct twitch_api::helix::chat::get_global_emotes::GetGlobalEmotesRequest
source · [−]#[non_exhaustive]pub struct GetGlobalEmotesRequest {}
Available on crate feature
helix
only.Expand description
Query Parameters for Get Channel Emotes
Implementations
Trait Implementations
sourceimpl Clone for GetGlobalEmotesRequest
impl Clone for GetGlobalEmotesRequest
sourcefn clone(&self) -> GetGlobalEmotesRequest
fn clone(&self) -> GetGlobalEmotesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetGlobalEmotesRequest
impl Debug for GetGlobalEmotesRequest
sourceimpl Default for GetGlobalEmotesRequest
impl Default for GetGlobalEmotesRequest
sourcefn default() -> GetGlobalEmotesRequest
fn default() -> GetGlobalEmotesRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetGlobalEmotesRequest
impl<'de> Deserialize<'de> for GetGlobalEmotesRequest
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetGlobalEmotesRequest> for GetGlobalEmotesRequest
impl PartialEq<GetGlobalEmotesRequest> for GetGlobalEmotesRequest
sourcefn eq(&self, other: &GetGlobalEmotesRequest) -> bool
fn eq(&self, other: &GetGlobalEmotesRequest) -> bool
sourceimpl Request for GetGlobalEmotesRequest
impl Request for GetGlobalEmotesRequest
type Response = Vec<GlobalEmote, Global>
type Response = Vec<GlobalEmote, Global>
Response type. twitch’s response will deserialize to this.
sourceconst PATH: &'static str = "chat/emotes/global"
const PATH: &'static str = "chat/emotes/global"
The path to the endpoint relative to the helix root. eg.
channels
for Get Channel Informationsourceconst SCOPE: &'static [Scope] = _
const SCOPE: &'static [Scope] = _
Available on crate feature
twitch_oauth2
only.Scopes needed by this endpoint
sourceconst OPT_SCOPE: &'static [Scope] = _
const OPT_SCOPE: &'static [Scope] = _
Available on crate feature
twitch_oauth2
only.Optional scopes needed by this endpoint
sourcefn query(&self) -> Result<String, SerializeError>
fn query(&self) -> Result<String, SerializeError>
Defines layout of the url parameters.
sourcefn get_uri(&self) -> Result<Uri, InvalidUri>
fn get_uri(&self) -> Result<Uri, InvalidUri>
Returns full URI for the request, including query parameters.
sourcefn get_bare_uri() -> Result<Uri, InvalidUri>
fn get_bare_uri() -> Result<Uri, InvalidUri>
Returns bare URI for the request, NOT including query parameters.
sourceimpl RequestGet for GetGlobalEmotesRequest
impl RequestGet for GetGlobalEmotesRequest
sourcefn create_request(
&self,
token: &str,
client_id: &str
) -> Result<Request<Bytes>, CreateRequestError>
fn create_request(
&self,
token: &str,
client_id: &str
) -> Result<Request<Bytes>, CreateRequestError>
Create a
http::Request
from this Request
in your clientsourcefn parse_response<B: Into<Bytes>>(
request: Option<Self>,
uri: &Uri,
response: Response<B>
) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestGetError>where
Self: Sized,
fn parse_response<B: Into<Bytes>>(
request: Option<Self>,
uri: &Uri,
response: Response<B>
) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestGetError>where
Self: Sized,
Parse response. Read more
sourcefn parse_inner_response(
request: Option<Self>,
uri: &Uri,
response: &str,
status: StatusCode
) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestGetError>where
Self: Sized,
fn parse_inner_response(
request: Option<Self>,
uri: &Uri,
response: &str,
status: StatusCode
) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestGetError>where
Self: Sized,
Parse a response string into the response.
sourceimpl Serialize for GetGlobalEmotesRequest
impl Serialize for GetGlobalEmotesRequest
impl Eq for GetGlobalEmotesRequest
impl StructuralEq for GetGlobalEmotesRequest
impl StructuralPartialEq for GetGlobalEmotesRequest
Auto Trait Implementations
impl RefUnwindSafe for GetGlobalEmotesRequest
impl Send for GetGlobalEmotesRequest
impl Sync for GetGlobalEmotesRequest
impl Unpin for GetGlobalEmotesRequest
impl UnwindSafe for GetGlobalEmotesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.