pub enum CreateClaimableBalanceResultCode {
CreateClaimableBalanceSuccess = 0,
CreateClaimableBalanceMalformed = -1,
CreateClaimableBalanceLowReserve = -2,
CreateClaimableBalanceNoTrust = -3,
CreateClaimableBalanceNotAuthorized = -4,
CreateClaimableBalanceUnderfunded = -5,
}Expand description
Autogenerated definition for type CreateClaimableBalanceResultCode
Variants§
CreateClaimableBalanceSuccess = 0
CreateClaimableBalanceMalformed = -1
CreateClaimableBalanceLowReserve = -2
CreateClaimableBalanceNoTrust = -3
CreateClaimableBalanceNotAuthorized = -4
CreateClaimableBalanceUnderfunded = -5
Trait Implementations§
Source§impl Clone for CreateClaimableBalanceResultCode
impl Clone for CreateClaimableBalanceResultCode
Source§fn clone(&self) -> CreateClaimableBalanceResultCode
fn clone(&self) -> CreateClaimableBalanceResultCode
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 PartialEq for CreateClaimableBalanceResultCode
impl PartialEq for CreateClaimableBalanceResultCode
Source§fn eq(&self, other: &CreateClaimableBalanceResultCode) -> bool
fn eq(&self, other: &CreateClaimableBalanceResultCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl XdrCodec for CreateClaimableBalanceResultCode
impl XdrCodec for CreateClaimableBalanceResultCode
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 CreateClaimableBalanceResultCode
impl Eq for CreateClaimableBalanceResultCode
impl StructuralPartialEq for CreateClaimableBalanceResultCode
Auto Trait Implementations§
impl Freeze for CreateClaimableBalanceResultCode
impl RefUnwindSafe for CreateClaimableBalanceResultCode
impl Send for CreateClaimableBalanceResultCode
impl Sync for CreateClaimableBalanceResultCode
impl Unpin for CreateClaimableBalanceResultCode
impl UnwindSafe for CreateClaimableBalanceResultCode
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