pub struct TransferAuthentication {
pub public_key: Vec<PublicKey>,
pub signature: Vec<Vec<u8>>,
pub nonce: Vec<u64>,
pub allowance_address: Vec<String>,
pub allowance_nonce: Vec<u64>,
}Expand description
Sender authentication for a CoinTXN. Mirrors the network’s
TransferAuthentication proto. Each position in public_key,
signature, and nonce refers to the same signer.
For SC-originated transfers the network populates every field here from
the TxnSender context; callers typically leave this at Default.
Fields§
§public_key: Vec<PublicKey>§signature: Vec<Vec<u8>>§nonce: Vec<u64>§allowance_address: Vec<String>Base58-encoded allowance wallet addresses.
allowance_nonce: Vec<u64>Trait Implementations§
Source§impl Clone for TransferAuthentication
impl Clone for TransferAuthentication
Source§fn clone(&self) -> TransferAuthentication
fn clone(&self) -> TransferAuthentication
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 TransferAuthentication
impl Debug for TransferAuthentication
Source§impl Default for TransferAuthentication
impl Default for TransferAuthentication
Source§fn default() -> TransferAuthentication
fn default() -> TransferAuthentication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferAuthentication
impl<'de> Deserialize<'de> for TransferAuthentication
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
Auto Trait Implementations§
impl Freeze for TransferAuthentication
impl RefUnwindSafe for TransferAuthentication
impl Send for TransferAuthentication
impl Sync for TransferAuthentication
impl Unpin for TransferAuthentication
impl UnsafeUnpin for TransferAuthentication
impl UnwindSafe for TransferAuthentication
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