pub enum StellarAssetType {
NATIVE = 0,
ALPHANUM4 = 1,
ALPHANUM12 = 2,
}
Available on crate feature
stellar
only.Variants§
Trait Implementations§
Source§impl Clone for StellarAssetType
impl Clone for StellarAssetType
Source§fn clone(&self) -> StellarAssetType
fn clone(&self) -> StellarAssetType
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 moreSource§impl Debug for StellarAssetType
impl Debug for StellarAssetType
Source§impl Default for StellarAssetType
impl Default for StellarAssetType
Source§impl Enum for StellarAssetType
impl Enum for StellarAssetType
Source§const NAME: &'static str = "StellarAssetType"
const NAME: &'static str = "StellarAssetType"
Enum name as specified in
.proto
file. Read moreSource§const VALUES: &'static [StellarAssetType]
const VALUES: &'static [StellarAssetType]
All enum values for enum type.
Source§impl EnumFull for StellarAssetType
impl EnumFull for StellarAssetType
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for StellarAssetType
impl Hash for StellarAssetType
Source§impl PartialEq for StellarAssetType
impl PartialEq for StellarAssetType
impl Copy for StellarAssetType
impl Eq for StellarAssetType
impl StructuralPartialEq for StellarAssetType
Auto Trait Implementations§
impl Freeze for StellarAssetType
impl RefUnwindSafe for StellarAssetType
impl Send for StellarAssetType
impl Sync for StellarAssetType
impl Unpin for StellarAssetType
impl UnwindSafe for StellarAssetType
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