pub struct CalendarReward {
pub typ: CalendarRewardType,
pub amount: i64,
}Expand description
A possible reward on the calendar
Fields§
§typ: CalendarRewardTypeNote that this is technically correct, but at low levels, these are often overwritten to silver
amount: i64The mount of the type this reward yielded
Trait Implementations§
Source§impl Clone for CalendarReward
impl Clone for CalendarReward
Source§fn clone(&self) -> CalendarReward
fn clone(&self) -> CalendarReward
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 CalendarReward
impl Debug for CalendarReward
Source§impl<'de> Deserialize<'de> for CalendarReward
impl<'de> Deserialize<'de> for CalendarReward
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 CalendarReward
impl RefUnwindSafe for CalendarReward
impl Send for CalendarReward
impl Sync for CalendarReward
impl Unpin for CalendarReward
impl UnwindSafe for CalendarReward
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