pub struct SettleResponseCoreSnapshot {
pub success: bool,
pub transaction: CompactString,
pub network: CompactString,
pub amount: Option<CompactString>,
pub payer: Option<CompactString>,
pub error_reason: Option<ErrorReason>,
pub error_message: Option<CompactString>,
}Expand description
Facilitator-settled fields that extensions must not rewrite.
Fields§
§success: boolWhether settlement succeeded.
transaction: CompactStringBroadcast transaction hash (empty when none).
network: CompactStringCAIP-2 network.
amount: Option<CompactString>Settled amount, when present.
payer: Option<CompactString>Payer address, when present.
error_reason: Option<ErrorReason>Failure reason, when settlement failed.
error_message: Option<CompactString>Failure message, when settlement failed.
Trait Implementations§
Source§impl Clone for SettleResponseCoreSnapshot
impl Clone for SettleResponseCoreSnapshot
Source§fn clone(&self) -> SettleResponseCoreSnapshot
fn clone(&self) -> SettleResponseCoreSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SettleResponseCoreSnapshot
impl Debug for SettleResponseCoreSnapshot
impl Eq for SettleResponseCoreSnapshot
impl StructuralPartialEq for SettleResponseCoreSnapshot
Auto Trait Implementations§
impl Freeze for SettleResponseCoreSnapshot
impl RefUnwindSafe for SettleResponseCoreSnapshot
impl Send for SettleResponseCoreSnapshot
impl Sync for SettleResponseCoreSnapshot
impl Unpin for SettleResponseCoreSnapshot
impl UnsafeUnpin for SettleResponseCoreSnapshot
impl UnwindSafe for SettleResponseCoreSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.