pub enum PaymentResultCode {
PaymentSuccess = 0,
PaymentMalformed = -1,
PaymentUnderfunded = -2,
PaymentSrcNoTrust = -3,
PaymentSrcNotAuthorized = -4,
PaymentNoDestination = -5,
PaymentNoTrust = -6,
PaymentNotAuthorized = -7,
PaymentLineFull = -8,
PaymentNoIssuer = -9,
}Expand description
Autogenerated definition for type PaymentResultCode
Variants§
PaymentSuccess = 0
PaymentMalformed = -1
PaymentUnderfunded = -2
PaymentSrcNoTrust = -3
PaymentSrcNotAuthorized = -4
PaymentNoDestination = -5
PaymentNoTrust = -6
PaymentNotAuthorized = -7
PaymentLineFull = -8
PaymentNoIssuer = -9
Trait Implementations§
Source§impl Clone for PaymentResultCode
impl Clone for PaymentResultCode
Source§fn clone(&self) -> PaymentResultCode
fn clone(&self) -> PaymentResultCode
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 PaymentResultCode
impl Debug for PaymentResultCode
Source§impl PartialEq for PaymentResultCode
impl PartialEq for PaymentResultCode
Source§impl XdrCodec for PaymentResultCode
impl XdrCodec for PaymentResultCode
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 PaymentResultCode
impl Eq for PaymentResultCode
impl StructuralPartialEq for PaymentResultCode
Auto Trait Implementations§
impl Freeze for PaymentResultCode
impl RefUnwindSafe for PaymentResultCode
impl Send for PaymentResultCode
impl Sync for PaymentResultCode
impl Unpin for PaymentResultCode
impl UnwindSafe for PaymentResultCode
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