pub struct AssetReceivedNotify {
pub asset_id: String,
pub amount: f64,
pub issuer: DeviceInfo,
pub from: DeviceInfo,
pub received_date: UtcDateTime,
}
Expand description
Asset Received notification data.
Fields
asset_id: String
The ID of the received asset.
amount: f64
The amount of the asset that has been received.
issuer: DeviceInfo
Identifies the virtual device that issued the asset — the issuing device.
from: DeviceInfo
Identifies the virtual device that sent or assigned the asset amount — the sending device.
received_date: UtcDateTime
Date and time when the asset amount has been received.
Trait Implementations
sourceimpl Clone for AssetReceivedNotify
impl Clone for AssetReceivedNotify
sourcefn clone(&self) -> AssetReceivedNotify
fn clone(&self) -> AssetReceivedNotify
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AssetReceivedNotify
impl Debug for AssetReceivedNotify
sourceimpl<'de> Deserialize<'de> for AssetReceivedNotify
impl<'de> Deserialize<'de> for AssetReceivedNotify
sourcefn 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
sourceimpl PartialEq<AssetReceivedNotify> for AssetReceivedNotify
impl PartialEq<AssetReceivedNotify> for AssetReceivedNotify
sourcefn eq(&self, other: &AssetReceivedNotify) -> bool
fn eq(&self, other: &AssetReceivedNotify) -> bool
impl StructuralPartialEq for AssetReceivedNotify
Auto Trait Implementations
impl RefUnwindSafe for AssetReceivedNotify
impl Send for AssetReceivedNotify
impl Sync for AssetReceivedNotify
impl Unpin for AssetReceivedNotify
impl UnwindSafe for AssetReceivedNotify
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more