Struct dao::core_contracts::Burn
source · pub struct Burn {
pub address: Address,
pub amount: Balance,
}
Expand description
Event emitted when tokens have been burnt.
Fields§
§address: Address
§amount: Balance
Trait Implementations§
source§impl BorshDeserialize for Burn
impl BorshDeserialize for Burn
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl PartialEq for Burn
impl PartialEq for Burn
impl Eq for Burn
impl StructuralPartialEq for Burn
Auto Trait Implementations§
impl RefUnwindSafe for Burn
impl Send for Burn
impl Sync for Burn
impl Unpin for Burn
impl UnwindSafe for Burn
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