Enum soroban_env_guest::xdr::next::TransactionEnvelope
pub enum TransactionEnvelope {
TxV0(TransactionV0Envelope),
Tx(TransactionV1Envelope),
TxFeeBump(FeeBumpTransactionEnvelope),
}
Variants§
Implementations§
§impl TransactionEnvelope
impl TransactionEnvelope
pub const VARIANTS: [EnvelopeType; 3] = [EnvelopeType::TxV0, EnvelopeType::Tx, EnvelopeType::TxFeeBump]
pub const VARIANTS_STR: [&'static str; 3] = ["TxV0", "Tx", "TxFeeBump"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> EnvelopeType
pub const fn variants() -> [EnvelopeType; 3]
Trait Implementations§
§impl Clone for TransactionEnvelope
impl Clone for TransactionEnvelope
§fn clone(&self) -> TransactionEnvelope
fn clone(&self) -> TransactionEnvelope
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 TransactionEnvelope
impl Debug for TransactionEnvelope
§impl Discriminant<EnvelopeType> for TransactionEnvelope
impl Discriminant<EnvelopeType> for TransactionEnvelope
fn discriminant(&self) -> EnvelopeType
§impl Hash for TransactionEnvelope
impl Hash for TransactionEnvelope
§impl Ord for TransactionEnvelope
impl Ord for TransactionEnvelope
§fn cmp(&self, other: &TransactionEnvelope) -> Ordering
fn cmp(&self, other: &TransactionEnvelope) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq<TransactionEnvelope> for TransactionEnvelope
impl PartialEq<TransactionEnvelope> for TransactionEnvelope
§fn eq(&self, other: &TransactionEnvelope) -> bool
fn eq(&self, other: &TransactionEnvelope) -> bool
§impl PartialOrd<TransactionEnvelope> for TransactionEnvelope
impl PartialOrd<TransactionEnvelope> for TransactionEnvelope
§fn partial_cmp(&self, other: &TransactionEnvelope) -> Option<Ordering>
fn partial_cmp(&self, other: &TransactionEnvelope) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more