Struct diem_types::account_config::events::received_payment::ReceivedPaymentEvent [−][src]
pub struct ReceivedPaymentEvent { /* fields omitted */ }
Expand description
Struct that represents a ReceivedPaymentEvent.
Implementations
impl ReceivedPaymentEvent
[src]
impl ReceivedPaymentEvent
[src]pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
[src]
pub fn sender(&self) -> AccountAddress
[src]
pub fn sender(&self) -> AccountAddress
[src]Get the receiver of this transaction event.
pub fn currency_code(&self) -> &IdentStr
[src]
pub fn currency_code(&self) -> &IdentStr
[src]Return the currency code that the payment was made in.
Trait Implementations
impl Debug for ReceivedPaymentEvent
[src]
impl Debug for ReceivedPaymentEvent
[src]impl<'de> Deserialize<'de> for ReceivedPaymentEvent
[src]
impl<'de> Deserialize<'de> for ReceivedPaymentEvent
[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 ReceivedPaymentEvent
[src]
impl MoveResource for ReceivedPaymentEvent
[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 ReceivedPaymentEvent
[src]
impl Serialize for ReceivedPaymentEvent
[src]impl TryFrom<&'_ ContractEvent> for ReceivedPaymentEvent
[src]
impl TryFrom<&'_ ContractEvent> for ReceivedPaymentEvent
[src]Auto Trait Implementations
impl RefUnwindSafe for ReceivedPaymentEvent
impl Send for ReceivedPaymentEvent
impl Sync for ReceivedPaymentEvent
impl Unpin for ReceivedPaymentEvent
impl UnwindSafe for ReceivedPaymentEvent
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>,