pub enum AssetType {
AssetTypeNative = 0,
AssetTypeCreditAlphanum4 = 1,
AssetTypeCreditAlphanum12 = 2,
AssetTypePoolShare = 3,
}Expand description
Autogenerated definition for type AssetType
Variants§
Trait Implementations§
Source§impl XdrCodec for AssetType
impl XdrCodec for AssetType
Source§fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
Encode the XDR to a write stream Read more
Source§fn from_xdr_buffered<T: AsRef<[u8]>>(
read_stream: &mut ReadStream<T>,
) -> Result<Self, DecodeError>
fn from_xdr_buffered<T: AsRef<[u8]>>( read_stream: &mut ReadStream<T>, ) -> Result<Self, DecodeError>
Decode the XDR from a read stream Read more
Source§fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode XDR provided as a reference to a byte vector Read more
Source§fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode this type from base64 encoded XDR Read more
impl Copy for AssetType
impl Eq for AssetType
impl StructuralPartialEq for AssetType
Auto Trait Implementations§
impl Freeze for AssetType
impl RefUnwindSafe for AssetType
impl Send for AssetType
impl Sync for AssetType
impl Unpin for AssetType
impl UnwindSafe for AssetType
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