Struct diem_types::account_config::events::burn::BurnEvent
source · pub struct BurnEvent { /* private fields */ }
Expand description
Struct that represents a BurnEvent.
Implementations§
source§impl BurnEvent
impl BurnEvent
sourcepub fn currency_code(&self) -> &IdentStr
pub fn currency_code(&self) -> &IdentStr
Return the code for the currency that was burned
sourcepub fn preburn_address(&self) -> AccountAddress
pub fn preburn_address(&self) -> AccountAddress
Return the address whose Preburn resource formerly held the burned funds
pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BurnEvent
impl<'de> Deserialize<'de> for BurnEvent
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 MoveStructType for BurnEvent
impl MoveStructType for BurnEvent
const MODULE_NAME: &'static IdentStr = DIEM_MODULE_IDENTIFIER
const STRUCT_NAME: &'static IdentStr = _
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn type_params() -> Vec<TypeTag, Global> ⓘ
fn struct_tag() -> StructTag
Auto Trait Implementations§
impl RefUnwindSafe for BurnEvent
impl Send for BurnEvent
impl Sync for BurnEvent
impl Unpin for BurnEvent
impl UnwindSafe for BurnEvent
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.