pub struct TransactionSigner {
pub account: [u8; 20],
pub scope: WitnessScope,
pub allowed_contracts: Vec<[u8; 20]>,
}Expand description
A transaction signer.
Fields§
§account: [u8; 20]Account script hash.
scope: WitnessScopeWitness scope.
allowed_contracts: Vec<[u8; 20]>Allowed contracts (for CustomContracts scope).
Trait Implementations§
Source§impl Clone for TransactionSigner
impl Clone for TransactionSigner
Source§fn clone(&self) -> TransactionSigner
fn clone(&self) -> TransactionSigner
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 moreAuto Trait Implementations§
impl Freeze for TransactionSigner
impl RefUnwindSafe for TransactionSigner
impl Send for TransactionSigner
impl Sync for TransactionSigner
impl Unpin for TransactionSigner
impl UnsafeUnpin for TransactionSigner
impl UnwindSafe for TransactionSigner
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