pub struct SettleResponse {
pub success: bool,
pub error_reason: Option<String>,
pub transaction: String,
pub network: String,
pub payer: Option<String>,
}Expand description
Payment settlement response
Fields§
§success: boolWhether the settlement was successful
error_reason: Option<String>Error reason if settlement failed
transaction: StringTransaction hash or identifier
network: StringNetwork where the transaction was executed
payer: Option<String>Payer address if applicable
Implementations§
Trait Implementations§
Source§impl Clone for SettleResponse
impl Clone for SettleResponse
Source§fn clone(&self) -> SettleResponse
fn clone(&self) -> SettleResponse
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 SettleResponse
impl Debug for SettleResponse
Source§impl<'de> Deserialize<'de> for SettleResponse
impl<'de> Deserialize<'de> for SettleResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SettleResponse
impl RefUnwindSafe for SettleResponse
impl Send for SettleResponse
impl Sync for SettleResponse
impl Unpin for SettleResponse
impl UnwindSafe for SettleResponse
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