pub struct SignatureCheckedTransaction(_);
Expand description
A transaction for which the signature has been verified. Created by
SignedTransaction::check_signature
and RawTransaction::sign
.
Implementations§
source§impl SignatureCheckedTransaction
impl SignatureCheckedTransaction
pub fn script_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = Self>
pub fn module_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = Self>
pub fn write_set_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = Self>
pub fn genesis_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = Self>
source§impl SignatureCheckedTransaction
impl SignatureCheckedTransaction
sourcepub fn into_inner(self) -> SignedTransaction
pub fn into_inner(self) -> SignedTransaction
Returns the SignedTransaction
within.
sourcepub fn into_raw_transaction(self) -> RawTransaction
pub fn into_raw_transaction(self) -> RawTransaction
Returns the RawTransaction
within.
Methods from Deref<Target = SignedTransaction>§
pub fn authenticator(&self) -> TransactionAuthenticator
pub fn sender(&self) -> AccountAddress
pub fn sequence_number(&self) -> u64
pub fn chain_id(&self) -> ChainId
pub fn payload(&self) -> &TransactionPayload
pub fn max_gas_amount(&self) -> u64
pub fn gas_unit_price(&self) -> u64
pub fn gas_currency_code(&self) -> &str
pub fn expiration_timestamp_secs(&self) -> u64
pub fn raw_txn_bytes_len(&self) -> usize
pub fn contains_duplicate_signers(&self) -> bool
pub fn format_for_client( &self, get_transaction_name: impl Fn(&[u8]) -> String ) -> String
pub fn is_multi_agent(&self) -> bool
Trait Implementations§
source§impl Arbitrary for SignatureCheckedTransaction
impl Arbitrary for SignatureCheckedTransaction
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.source§fn arbitrary_with(_args: ()) -> Self::Strategy
fn arbitrary_with(_args: ()) -> Self::Strategy
§type Strategy = BoxedStrategy<SignatureCheckedTransaction>
type Strategy = BoxedStrategy<SignatureCheckedTransaction>
The type of
Strategy
used to generate values of type Self
.source§impl Clone for SignatureCheckedTransaction
impl Clone for SignatureCheckedTransaction
source§fn clone(&self) -> SignatureCheckedTransaction
fn clone(&self) -> SignatureCheckedTransaction
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 SignatureCheckedTransaction
impl Debug for SignatureCheckedTransaction
source§impl Deref for SignatureCheckedTransaction
impl Deref for SignatureCheckedTransaction
source§impl Hash for SignatureCheckedTransaction
impl Hash for SignatureCheckedTransaction
source§impl PartialEq<SignatureCheckedTransaction> for SignatureCheckedTransaction
impl PartialEq<SignatureCheckedTransaction> for SignatureCheckedTransaction
source§fn eq(&self, other: &SignatureCheckedTransaction) -> bool
fn eq(&self, other: &SignatureCheckedTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SignatureCheckedTransaction
impl StructuralEq for SignatureCheckedTransaction
impl StructuralPartialEq for SignatureCheckedTransaction
Auto Trait Implementations§
impl RefUnwindSafe for SignatureCheckedTransaction
impl Send for SignatureCheckedTransaction
impl Sync for SignatureCheckedTransaction
impl Unpin for SignatureCheckedTransaction
impl UnwindSafe for SignatureCheckedTransaction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.