pub struct CreatedCustomReward {Show 18 fields
pub broadcaster: User,
pub id: String,
pub title: String,
pub prompt: String,
pub cost: i32,
pub image: Option<EmoteStaticImages>,
pub default_image: Option<EmoteStaticImages>,
pub background_color: String,
pub is_enabled: bool,
pub is_user_input_required: bool,
pub max_per_stream_setting: MaxPerStreamSetting,
pub max_per_user_per_stream: Option<i64>,
pub global_cooldown_setting: GlobalCooldownSetting,
pub is_paused: bool,
pub is_in_stock: bool,
pub should_redemptions_skip_request_queue: bool,
pub redemptions_redeemed_current_stream: Option<i32>,
pub cooldown_expires_at: Option<String>,
}Fields§
§broadcaster: User§id: String§title: String§prompt: String§cost: i32§image: Option<EmoteStaticImages>§default_image: Option<EmoteStaticImages>§background_color: String§is_enabled: bool§is_user_input_required: bool§max_per_stream_setting: MaxPerStreamSetting§max_per_user_per_stream: Option<i64>§global_cooldown_setting: GlobalCooldownSetting§is_paused: bool§is_in_stock: bool§should_redemptions_skip_request_queue: bool§redemptions_redeemed_current_stream: Option<i32>§cooldown_expires_at: Option<String>Trait Implementations§
Source§impl Debug for CreatedCustomReward
impl Debug for CreatedCustomReward
Source§impl<'de> Deserialize<'de> for CreatedCustomReward
impl<'de> Deserialize<'de> for CreatedCustomReward
Source§fn 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
Auto Trait Implementations§
impl Freeze for CreatedCustomReward
impl RefUnwindSafe for CreatedCustomReward
impl Send for CreatedCustomReward
impl Sync for CreatedCustomReward
impl Unpin for CreatedCustomReward
impl UnwindSafe for CreatedCustomReward
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more