stellar-xdr 26.0.0

Stellar XDR types, encoding, and decoding.
Documentation
1
2
3
4
5
6
7
8
9
10
//# Custom default implementations of some types.
#![cfg(feature = "alloc")]

use super::{TransactionEnvelope, TransactionV1Envelope};

impl Default for TransactionEnvelope {
    fn default() -> Self {
        Self::Tx(TransactionV1Envelope::default())
    }
}