Struct diem_types::account_config::events::preburn::PreburnEvent [−][src]
pub struct PreburnEvent { /* fields omitted */ }
Expand description
Struct that represents a PreburnEvent.
Implementations
impl PreburnEvent
[src]
impl PreburnEvent
[src]pub fn currency_code(&self) -> &IdentStr
[src]
pub fn currency_code(&self) -> &IdentStr
[src]Return the code for the currency that was preburned
pub fn preburn_address(&self) -> AccountAddress
[src]
pub fn preburn_address(&self) -> AccountAddress
[src]Return the address whose Preburn now holds the funds
pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
[src]
Trait Implementations
impl Debug for PreburnEvent
[src]
impl Debug for PreburnEvent
[src]impl<'de> Deserialize<'de> for PreburnEvent
[src]
impl<'de> Deserialize<'de> for PreburnEvent
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl MoveResource for PreburnEvent
[src]
impl MoveResource for PreburnEvent
[src]const MODULE_NAME: &'static str
[src]
const STRUCT_NAME: &'static str
[src]
fn module_identifier() -> Identifier
[src]
fn struct_identifier() -> Identifier
[src]
fn type_params() -> Vec<TypeTag, Global>
[src]
fn struct_tag() -> StructTag
[src]
fn resource_path() -> Vec<u8, Global>
[src]
impl Serialize for PreburnEvent
[src]
impl Serialize for PreburnEvent
[src]impl TryFrom<&'_ ContractEvent> for PreburnEvent
[src]
impl TryFrom<&'_ ContractEvent> for PreburnEvent
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> TestOnlyHash for T where
T: Serialize + ?Sized,
[src]
impl<T> TestOnlyHash for T where
T: Serialize + ?Sized,
[src]pub fn test_only_hash(&self) -> HashValue
[src]
pub fn test_only_hash(&self) -> HashValue
[src]Generates a hash used only for tests.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,