Enum substrate_stellar_sdk::types::TransactionEnvelope [−][src]
pub enum TransactionEnvelope { EnvelopeTypeTxV0(TransactionV0Envelope), EnvelopeTypeTx(TransactionV1Envelope), EnvelopeTypeTxFeeBump(FeeBumpTransactionEnvelope), Default(EnvelopeType), }
Expand description
Autogenerated definition for type TransactionEnvelope
Variants
EnvelopeTypeTxV0(TransactionV0Envelope)
EnvelopeTypeTx(TransactionV1Envelope)
EnvelopeTypeTxFeeBump(FeeBumpTransactionEnvelope)
Default(EnvelopeType)
Implementations
Generate a base64 encoded signature
Generate a signature for the transaction_envelope
. Generate the signature
for a network having the passphrase contained in network
. The secret key for
signing the envelope is provided by keypair
.
The signature is not appended to the transaction envelope.
Generate and add signatures to a transaction envelope
Generate and add signatures to the transaction_envelope
. The signature
is generated for a network having the passphrase contained in network
. Generate and add
one signature for each keypair in keypairs
.
Add a base64 encoded signature to a transaction envelope
Add a previously generated base64 encoded signature to the transaction_envelope
.
This function verifies whether the signature is valid given the passphrase contained in network
and the public_key
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransactionEnvelope
impl Send for TransactionEnvelope
impl Sync for TransactionEnvelope
impl Unpin for TransactionEnvelope
impl UnwindSafe for TransactionEnvelope
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
pub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,