Struct ex3_node_types::transaction::ForceWithdrawal
source · pub struct ForceWithdrawal {
pub chain: Chain,
pub sign_schema: SignatureSchema,
pub to: String,
pub asset_id: AssetId,
pub amount: AssetAmount,
pub fee: AssetAmount,
pub timestamp: TimeInNs,
}Expand description
Force withdrawal
Fields§
§chain: ChainSpecify chain
sign_schema: SignatureSchemaSignature schema
to: StringWithdrawal to address
asset_id: AssetIdWithdrawal asset id
amount: AssetAmountWithdrawal amount Note: This is the amount that the user will receive
fee: AssetAmountWithdrawal fee
timestamp: TimeInNsTimestamp
Trait Implementations§
source§impl Clone for ForceWithdrawal
impl Clone for ForceWithdrawal
source§fn clone(&self) -> ForceWithdrawal
fn clone(&self) -> ForceWithdrawal
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 ForceWithdrawal
impl Debug for ForceWithdrawal
source§impl<'de> Deserialize<'de> for ForceWithdrawal
impl<'de> Deserialize<'de> for ForceWithdrawal
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 ForceWithdrawal
impl PartialEq for ForceWithdrawal
source§impl Serialize for ForceWithdrawal
impl Serialize for ForceWithdrawal
source§impl Storable for ForceWithdrawal
impl Storable for ForceWithdrawal
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for ForceWithdrawal
impl StructuralPartialEq for ForceWithdrawal
Auto Trait Implementations§
impl Freeze for ForceWithdrawal
impl RefUnwindSafe for ForceWithdrawal
impl Send for ForceWithdrawal
impl Sync for ForceWithdrawal
impl Unpin for ForceWithdrawal
impl UnwindSafe for ForceWithdrawal
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)