Struct twitch_api2::helix::points::CustomRewardRedemption [−][src]
#[non_exhaustive]pub struct CustomRewardRedemption { pub broadcaster_id: UserId, pub broadcaster_name: DisplayName, pub broadcaster_login: UserName, pub id: RedemptionId, pub user_id: UserId, pub user_name: DisplayName, pub user_login: UserName, pub reward: Reward, pub user_input: String, pub status: CustomRewardRedemptionStatus, pub redeemed_at: Timestamp, }
This is supported on crate feature
helix
only.Return Values for Get Custom Reward Redemption
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.broadcaster_id: UserId
The id of the broadcaster that the reward belongs to.
broadcaster_name: DisplayName
The display name of the broadcaster that the reward belongs to.
broadcaster_login: UserName
Broadcaster’s user login name.
id: RedemptionId
The ID of the redemption.
user_id: UserId
The ID of the user that redeemed the reward
user_name: DisplayName
The display name of the user that redeemed the reward.
user_login: UserName
The login of the user who redeemed the reward.
reward: Reward
Basic information about the Custom Reward that was redeemed at the time it was redeemed. { “id”: string, “title”: string, “prompt”: string, “cost”: int, }
user_input: String
The user input provided. Empty string if not provided.
status: CustomRewardRedemptionStatus
One of UNFULFILLED, FULFILLED or CANCELED
redeemed_at: Timestamp
RFC3339 timestamp of when the reward was redeemed.
Trait Implementations
impl Clone for CustomRewardRedemption
[src]
impl Clone for CustomRewardRedemption
[src]fn clone(&self) -> CustomRewardRedemption
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CustomRewardRedemption
[src]
impl<'de> Deserialize<'de> for CustomRewardRedemption
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<CustomRewardRedemption> for CustomRewardRedemption
[src]
impl PartialEq<CustomRewardRedemption> for CustomRewardRedemption
[src]fn eq(&self, other: &CustomRewardRedemption) -> bool
[src]
fn ne(&self, other: &CustomRewardRedemption) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomRewardRedemption
impl RefUnwindSafe for CustomRewardRedemption
impl Send for CustomRewardRedemption
impl Send for CustomRewardRedemption
impl Sync for CustomRewardRedemption
impl Sync for CustomRewardRedemption
impl Unpin for CustomRewardRedemption
impl Unpin for CustomRewardRedemption
impl UnwindSafe for CustomRewardRedemption
impl UnwindSafe for CustomRewardRedemption
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>,