Struct diem_types::account_config::events::preburn::PreburnEvent
source · pub struct PreburnEvent { /* private fields */ }
Expand description
Struct that represents a PreburnEvent.
Implementations§
source§impl PreburnEvent
impl PreburnEvent
sourcepub fn currency_code(&self) -> &IdentStr
pub fn currency_code(&self) -> &IdentStr
Return the code for the currency that was preburned
sourcepub fn preburn_address(&self) -> AccountAddress
pub fn preburn_address(&self) -> AccountAddress
Return the address whose Preburn now holds the funds
pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
Trait Implementations§
source§impl Debug for PreburnEvent
impl Debug for PreburnEvent
source§impl<'de> Deserialize<'de> for PreburnEvent
impl<'de> Deserialize<'de> for PreburnEvent
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 PreburnEvent
impl MoveStructType for PreburnEvent
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
source§impl Serialize for PreburnEvent
impl Serialize for PreburnEvent
source§impl TryFrom<&ContractEvent> for PreburnEvent
impl TryFrom<&ContractEvent> for PreburnEvent
Auto Trait Implementations§
impl RefUnwindSafe for PreburnEvent
impl Send for PreburnEvent
impl Sync for PreburnEvent
impl Unpin for PreburnEvent
impl UnwindSafe for PreburnEvent
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.