pub struct AutoRewardData {
pub kind: AutoRewardType,
pub cost: u32,
pub unlocked_emote: Option<UnlockedEmote>,
}Fields§
§kind: AutoRewardType§cost: u32§unlocked_emote: Option<UnlockedEmote>Trait Implementations§
Source§impl Clone for AutoRewardData
impl Clone for AutoRewardData
Source§fn clone(&self) -> AutoRewardData
fn clone(&self) -> AutoRewardData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoRewardData
impl Debug for AutoRewardData
Source§impl<'de> Deserialize<'de> for AutoRewardData
impl<'de> Deserialize<'de> for AutoRewardData
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 AutoRewardData
impl RefUnwindSafe for AutoRewardData
impl Send for AutoRewardData
impl Sync for AutoRewardData
impl Unpin for AutoRewardData
impl UnwindSafe for AutoRewardData
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