Struct diem_sdk::types::transaction::SignatureCheckedTransaction
pub struct SignatureCheckedTransaction(_);
Expand description
A transaction for which the signature has been verified. Created by
SignedTransaction::check_signature
and RawTransaction::sign
.
Implementations§
§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 = SignatureCheckedTransaction>
pub fn module_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = SignatureCheckedTransaction>
pub fn write_set_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = SignatureCheckedTransaction>
pub fn genesis_strategy( keypair_strategy: impl Strategy<Value = KeyPair<Ed25519PrivateKey, Ed25519PublicKey>>, gas_currency_code_strategy: impl Strategy<Value = String> ) -> impl Strategy<Value = SignatureCheckedTransaction>
§impl SignatureCheckedTransaction
impl SignatureCheckedTransaction
pub fn into_inner(self) -> SignedTransaction
pub fn into_inner(self) -> SignedTransaction
Returns the SignedTransaction
within.
pub 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§
§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
.§fn arbitrary_with(
_args: ()
) -> <SignatureCheckedTransaction as Arbitrary>::Strategy
fn arbitrary_with( _args: () ) -> <SignatureCheckedTransaction as Arbitrary>::Strategy
§type Strategy = BoxedStrategy<SignatureCheckedTransaction>
type Strategy = BoxedStrategy<SignatureCheckedTransaction>
The type of
Strategy
used to generate values of type Self
.§impl Clone for SignatureCheckedTransaction
impl Clone for SignatureCheckedTransaction
§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 more§impl Debug for SignatureCheckedTransaction
impl Debug for SignatureCheckedTransaction
§impl Deref for SignatureCheckedTransaction
impl Deref for SignatureCheckedTransaction
§type Target = SignedTransaction
type Target = SignedTransaction
The resulting type after dereferencing.
§fn deref(&self) -> &<SignatureCheckedTransaction as Deref>::Target
fn deref(&self) -> &<SignatureCheckedTransaction as Deref>::Target
Dereferences the value.
§impl Hash for SignatureCheckedTransaction
impl Hash for SignatureCheckedTransaction
§impl PartialEq<SignatureCheckedTransaction> for SignatureCheckedTransaction
impl PartialEq<SignatureCheckedTransaction> for SignatureCheckedTransaction
§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.