pub struct UpgradeControllerEvent {
pub amount: u32,
pub energy_spent: u32,
}
Fields§
§amount: u32
§energy_spent: u32
Trait Implementations§
Source§impl Clone for UpgradeControllerEvent
impl Clone for UpgradeControllerEvent
Source§fn clone(&self) -> UpgradeControllerEvent
fn clone(&self) -> UpgradeControllerEvent
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 UpgradeControllerEvent
impl Debug for UpgradeControllerEvent
Source§impl<'de> Deserialize<'de> for UpgradeControllerEvent
impl<'de> Deserialize<'de> for UpgradeControllerEvent
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
Source§impl PartialEq for UpgradeControllerEvent
impl PartialEq for UpgradeControllerEvent
impl Copy for UpgradeControllerEvent
impl Eq for UpgradeControllerEvent
impl StructuralPartialEq for UpgradeControllerEvent
Auto Trait Implementations§
impl Freeze for UpgradeControllerEvent
impl RefUnwindSafe for UpgradeControllerEvent
impl Send for UpgradeControllerEvent
impl Sync for UpgradeControllerEvent
impl Unpin for UpgradeControllerEvent
impl UnwindSafe for UpgradeControllerEvent
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