pub struct SettleResult {
pub success: bool,
pub error_reason: Option<String>,
pub headers: Vec<(String, String)>,
pub transaction: Option<String>,
pub network: Option<String>,
pub payer: Option<String>,
}Expand description
Result of settlement processing after a successful response.
Corresponds to Python SDK’s ProcessSettleResult.
Fields§
§success: boolWhether settlement succeeded.
error_reason: Option<String>Error reason if settlement failed.
headers: Vec<(String, String)>Headers to add to the response (e.g., PAYMENT-RESPONSE).
transaction: Option<String>Transaction hash/ID.
network: Option<String>Network identifier.
payer: Option<String>Payer address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SettleResult
impl RefUnwindSafe for SettleResult
impl Send for SettleResult
impl Sync for SettleResult
impl Unpin for SettleResult
impl UnwindSafe for SettleResult
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