pub struct InternalTransferAction {
pub from: AddressPocket,
pub to: AddressPocket,
pub value: U256,
}
Expand description
Description of the result of an internal transfer action regarding about CFX.
Fields§
§from: AddressPocket
The source address. If it is zero, then it is an interest mint action.
to: AddressPocket
The destination address. If it is zero, then it is a burnt action.
value: U256
The amount of CFX
Implementations§
Trait Implementations§
source§impl Clone for InternalTransferAction
impl Clone for InternalTransferAction
source§fn clone(&self) -> InternalTransferAction
fn clone(&self) -> InternalTransferAction
Returns a copy 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 InternalTransferAction
impl Debug for InternalTransferAction
source§impl Decodable for InternalTransferAction
impl Decodable for InternalTransferAction
source§impl Encodable for InternalTransferAction
impl Encodable for InternalTransferAction
source§impl PartialEq for InternalTransferAction
impl PartialEq for InternalTransferAction
source§fn eq(&self, other: &InternalTransferAction) -> bool
fn eq(&self, other: &InternalTransferAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InternalTransferAction
impl Serialize for InternalTransferAction
impl StructuralPartialEq for InternalTransferAction
Auto Trait Implementations§
impl RefUnwindSafe for InternalTransferAction
impl Send for InternalTransferAction
impl Sync for InternalTransferAction
impl Unpin for InternalTransferAction
impl UnwindSafe for InternalTransferAction
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