pub struct BlockchainTransfer {
pub type: Option<Type>,
pub tx_hash: Option<String>,
pub amount: String,
}Fields§
§type: Option<Type>§tx_hash: Option<String>The hash of the transaction on the blockchain.
amount: StringThe amount of the transaction.
Implementations§
Source§impl BlockchainTransfer
impl BlockchainTransfer
pub fn new(amount: String) -> BlockchainTransfer
Trait Implementations§
Source§impl Clone for BlockchainTransfer
impl Clone for BlockchainTransfer
Source§fn clone(&self) -> BlockchainTransfer
fn clone(&self) -> BlockchainTransfer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockchainTransfer
impl Debug for BlockchainTransfer
Source§impl Default for BlockchainTransfer
impl Default for BlockchainTransfer
Source§fn default() -> BlockchainTransfer
fn default() -> BlockchainTransfer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockchainTransfer
impl<'de> Deserialize<'de> for BlockchainTransfer
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 PartialEq for BlockchainTransfer
impl PartialEq for BlockchainTransfer
Source§impl Serialize for BlockchainTransfer
impl Serialize for BlockchainTransfer
impl StructuralPartialEq for BlockchainTransfer
Auto Trait Implementations§
impl Freeze for BlockchainTransfer
impl RefUnwindSafe for BlockchainTransfer
impl Send for BlockchainTransfer
impl Sync for BlockchainTransfer
impl Unpin for BlockchainTransfer
impl UnwindSafe for BlockchainTransfer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more