pub struct StxTransferSpecificationFile {
pub expected_sender: String,
pub recipient: String,
pub mstx_amount: u64,
pub memo: Option<String>,
pub cost: u64,
pub anchor_block_only: Option<bool>,
}Fields§
§expected_sender: String§recipient: String§mstx_amount: u64§memo: Option<String>§cost: u64§anchor_block_only: Option<bool>Trait Implementations§
source§impl Debug for StxTransferSpecificationFile
impl Debug for StxTransferSpecificationFile
source§impl<'de> Deserialize<'de> for StxTransferSpecificationFile
impl<'de> Deserialize<'de> for StxTransferSpecificationFile
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<StxTransferSpecificationFile> for StxTransferSpecificationFile
impl PartialEq<StxTransferSpecificationFile> for StxTransferSpecificationFile
source§fn eq(&self, other: &StxTransferSpecificationFile) -> bool
fn eq(&self, other: &StxTransferSpecificationFile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StxTransferSpecificationFile
Auto Trait Implementations§
impl RefUnwindSafe for StxTransferSpecificationFile
impl Send for StxTransferSpecificationFile
impl Sync for StxTransferSpecificationFile
impl Unpin for StxTransferSpecificationFile
impl UnwindSafe for StxTransferSpecificationFile
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