#[non_exhaustive]pub struct ManageHeldAutoModMessagesRequest<'a> { /* private fields */ }
Available on crate feature
helix
only.Expand description
Query Parameters for Manage Held AutoMod Messages
Implementations
sourceimpl<'a> ManageHeldAutoModMessagesRequest<'a>
impl<'a> ManageHeldAutoModMessagesRequest<'a>
sourceimpl ManageHeldAutoModMessagesRequest<'_>
impl ManageHeldAutoModMessagesRequest<'_>
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ManageHeldAutoModMessagesRequest
Trait Implementations
sourceimpl<'a> Clone for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Clone for ManageHeldAutoModMessagesRequest<'a>
sourcefn clone(&self) -> ManageHeldAutoModMessagesRequest<'a>
fn clone(&self) -> ManageHeldAutoModMessagesRequest<'a>
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<'a> Debug for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Debug for ManageHeldAutoModMessagesRequest<'a>
sourceimpl<'a> Default for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Default for ManageHeldAutoModMessagesRequest<'a>
sourcefn default() -> ManageHeldAutoModMessagesRequest<'a>
fn default() -> ManageHeldAutoModMessagesRequest<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de, 'a> Deserialize<'de> for ManageHeldAutoModMessagesRequest<'a>
impl<'de, 'a> Deserialize<'de> for ManageHeldAutoModMessagesRequest<'a>
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<'a> PartialEq<ManageHeldAutoModMessagesRequest<'a>> for ManageHeldAutoModMessagesRequest<'a>
impl<'a> PartialEq<ManageHeldAutoModMessagesRequest<'a>> for ManageHeldAutoModMessagesRequest<'a>
sourcefn eq(&self, other: &ManageHeldAutoModMessagesRequest<'a>) -> bool
fn eq(&self, other: &ManageHeldAutoModMessagesRequest<'a>) -> bool
sourceimpl Request for ManageHeldAutoModMessagesRequest<'_>
impl Request for ManageHeldAutoModMessagesRequest<'_>
type Response = ManageHeldAutoModMessages
type Response = ManageHeldAutoModMessages
Response type. twitch’s response will deserialize to this.
sourceconst PATH: &'static str = "moderation/automod/message"
const PATH: &'static str = "moderation/automod/message"
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<'a> RequestPost for ManageHeldAutoModMessagesRequest<'a>
impl<'a> RequestPost for ManageHeldAutoModMessagesRequest<'a>
type Body = ManageHeldAutoModMessagesBody<'a>
type Body = ManageHeldAutoModMessagesBody<'a>
Body parameters
sourcefn parse_inner_response<'d>(
request: Option<Self>,
uri: &Uri,
response: &str,
status: StatusCode
) -> Result<Response<Self, Self::Response>, HelixRequestPostError>where
Self: Sized,
fn parse_inner_response<'d>(
request: Option<Self>,
uri: &Uri,
response: &str,
status: StatusCode
) -> Result<Response<Self, Self::Response>, HelixRequestPostError>where
Self: Sized,
Parse a response string into the response.
sourcefn create_request(
&self,
body: Self::Body,
token: &str,
client_id: &str
) -> Result<Request<Bytes>, CreateRequestError>
fn create_request(
&self,
body: Self::Body,
token: &str,
client_id: &str
) -> Result<Request<Bytes>, CreateRequestError>
Create a
http::Request
from this Request
in your clientsourceimpl<'a> Serialize for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Serialize for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Eq for ManageHeldAutoModMessagesRequest<'a>
impl<'a> StructuralEq for ManageHeldAutoModMessagesRequest<'a>
impl<'a> StructuralPartialEq for ManageHeldAutoModMessagesRequest<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Send for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Sync for ManageHeldAutoModMessagesRequest<'a>
impl<'a> Unpin for ManageHeldAutoModMessagesRequest<'a>
impl<'a> UnwindSafe for ManageHeldAutoModMessagesRequest<'a>
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.