Enum twitch_api2::helix::points::DeleteCustomReward [−][src]
#[non_exhaustive] pub enum DeleteCustomReward { Success, BadRequest, AuthFailed, Forbidden, NotFound, }
This is supported on crate feature
helix
only.Return Values for Delete CustomReward
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reward deleted
Bad Request: Query/Body Parameter missing or invalid
Unauthenticated: Missing/invalid Token
Forbidden: The Custom Reward was created by a different client_id or Channel Points are not available for the broadcaster
Not Found: The Custom Reward doesn’t exist with the id and broadcaster_id specified
Trait Implementations
impl Clone for DeleteCustomReward
[src]
impl Clone for DeleteCustomReward
[src]fn clone(&self) -> DeleteCustomReward
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for DeleteCustomReward
[src]
impl<'de> Deserialize<'de> for DeleteCustomReward
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl TryFrom<StatusCode> for DeleteCustomReward
[src]
impl TryFrom<StatusCode> for DeleteCustomReward
[src]Auto Trait Implementations
impl RefUnwindSafe for DeleteCustomReward
impl RefUnwindSafe for DeleteCustomReward
impl Send for DeleteCustomReward
impl Send for DeleteCustomReward
impl Sync for DeleteCustomReward
impl Sync for DeleteCustomReward
impl Unpin for DeleteCustomReward
impl Unpin for DeleteCustomReward
impl UnwindSafe for DeleteCustomReward
impl UnwindSafe for DeleteCustomReward
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,