pub enum TransactionHistoryEntryExt {
V0,
V1(GeneralizedTransactionSet),
}Expand description
TransactionHistoryEntryExt is an XDR NestedUnion defines as:
union switch (int v)
{
case 0:
void;
case 1:
GeneralizedTransactionSet generalizedTxSet;
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransactionHistoryEntryExt
impl Clone for TransactionHistoryEntryExt
Source§fn clone(&self) -> TransactionHistoryEntryExt
fn clone(&self) -> TransactionHistoryEntryExt
Returns a duplicate 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 TransactionHistoryEntryExt
impl Debug for TransactionHistoryEntryExt
Source§impl Default for TransactionHistoryEntryExt
Available on crate feature alloc only.
impl Default for TransactionHistoryEntryExt
Available on crate feature
alloc only.Source§fn default() -> TransactionHistoryEntryExt
fn default() -> TransactionHistoryEntryExt
Returns the “default value” for a type. Read more
Source§impl Discriminant<i32> for TransactionHistoryEntryExt
impl Discriminant<i32> for TransactionHistoryEntryExt
fn discriminant(&self) -> i32
Source§impl Hash for TransactionHistoryEntryExt
impl Hash for TransactionHistoryEntryExt
Source§impl Ord for TransactionHistoryEntryExt
impl Ord for TransactionHistoryEntryExt
Source§fn cmp(&self, other: &TransactionHistoryEntryExt) -> Ordering
fn cmp(&self, other: &TransactionHistoryEntryExt) -> 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
Source§impl PartialOrd for TransactionHistoryEntryExt
impl PartialOrd for TransactionHistoryEntryExt
Source§impl ReadXdr for TransactionHistoryEntryExt
impl ReadXdr for TransactionHistoryEntryExt
Source§fn read_xdr<R>(r: &mut Limited<R>) -> Result<TransactionHistoryEntryExt, Error>where
R: Read,
fn read_xdr<R>(r: &mut Limited<R>) -> Result<TransactionHistoryEntryExt, Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
Read the XDR and construct the type, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR into the existing value, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
Create an iterator that reads the read implementation as a stream of
values that are read into the implementing type. Read more
impl Eq for TransactionHistoryEntryExt
impl StructuralPartialEq for TransactionHistoryEntryExt
impl Union<i32> for TransactionHistoryEntryExt
Auto Trait Implementations§
impl Freeze for TransactionHistoryEntryExt
impl RefUnwindSafe for TransactionHistoryEntryExt
impl Send for TransactionHistoryEntryExt
impl Sync for TransactionHistoryEntryExt
impl Unpin for TransactionHistoryEntryExt
impl UnwindSafe for TransactionHistoryEntryExt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more