Struct diem_types::account_config::events::received_mint::ReceivedMintEvent
source · pub struct ReceivedMintEvent { /* private fields */ }
Expand description
Struct that represents a ReceivedMintEvent.
Implementations§
source§impl ReceivedMintEvent
impl ReceivedMintEvent
sourcepub fn destination_address(&self) -> AccountAddress
pub fn destination_address(&self) -> AccountAddress
Return the address who received the mint
sourcepub fn currency_code(&self) -> &IdentStr
pub fn currency_code(&self) -> &IdentStr
Return the code for the currency that was minted
pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
Trait Implementations§
source§impl Debug for ReceivedMintEvent
impl Debug for ReceivedMintEvent
source§impl<'de> Deserialize<'de> for ReceivedMintEvent
impl<'de> Deserialize<'de> for ReceivedMintEvent
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 ReceivedMintEvent
impl MoveStructType for ReceivedMintEvent
const MODULE_NAME: &'static IdentStr = DESIGNATED_DEALER_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 ReceivedMintEvent
impl Serialize for ReceivedMintEvent
source§impl TryFrom<&ContractEvent> for ReceivedMintEvent
impl TryFrom<&ContractEvent> for ReceivedMintEvent
Auto Trait Implementations§
impl RefUnwindSafe for ReceivedMintEvent
impl Send for ReceivedMintEvent
impl Sync for ReceivedMintEvent
impl Unpin for ReceivedMintEvent
impl UnwindSafe for ReceivedMintEvent
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.