pub enum LedgerHeaderExtensionV1Ext {
V0,
}Expand description
LedgerHeaderExtensionV1Ext is an XDR NestedUnion defines as:
union switch (int v)
{
case 0:
void;
}Variants§
V0
Implementations§
Trait Implementations§
Source§impl Clone for LedgerHeaderExtensionV1Ext
impl Clone for LedgerHeaderExtensionV1Ext
Source§fn clone(&self) -> LedgerHeaderExtensionV1Ext
fn clone(&self) -> LedgerHeaderExtensionV1Ext
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 LedgerHeaderExtensionV1Ext
impl Debug for LedgerHeaderExtensionV1Ext
Source§impl Default for LedgerHeaderExtensionV1Ext
Available on crate feature alloc only.
impl Default for LedgerHeaderExtensionV1Ext
Available on crate feature
alloc only.Source§fn default() -> LedgerHeaderExtensionV1Ext
fn default() -> LedgerHeaderExtensionV1Ext
Returns the “default value” for a type. Read more
Source§impl Discriminant<i32> for LedgerHeaderExtensionV1Ext
impl Discriminant<i32> for LedgerHeaderExtensionV1Ext
fn discriminant(&self) -> i32
Source§impl Hash for LedgerHeaderExtensionV1Ext
impl Hash for LedgerHeaderExtensionV1Ext
Source§impl Ord for LedgerHeaderExtensionV1Ext
impl Ord for LedgerHeaderExtensionV1Ext
Source§fn cmp(&self, other: &LedgerHeaderExtensionV1Ext) -> Ordering
fn cmp(&self, other: &LedgerHeaderExtensionV1Ext) -> 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 LedgerHeaderExtensionV1Ext
impl PartialOrd for LedgerHeaderExtensionV1Ext
Source§impl ReadXdr for LedgerHeaderExtensionV1Ext
impl ReadXdr for LedgerHeaderExtensionV1Ext
Source§fn read_xdr<R>(r: &mut Limited<R>) -> Result<LedgerHeaderExtensionV1Ext, Error>where
R: Read,
fn read_xdr<R>(r: &mut Limited<R>) -> Result<LedgerHeaderExtensionV1Ext, 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 LedgerHeaderExtensionV1Ext
impl StructuralPartialEq for LedgerHeaderExtensionV1Ext
impl Union<i32> for LedgerHeaderExtensionV1Ext
Auto Trait Implementations§
impl Freeze for LedgerHeaderExtensionV1Ext
impl RefUnwindSafe for LedgerHeaderExtensionV1Ext
impl Send for LedgerHeaderExtensionV1Ext
impl Sync for LedgerHeaderExtensionV1Ext
impl Unpin for LedgerHeaderExtensionV1Ext
impl UnwindSafe for LedgerHeaderExtensionV1Ext
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