pub struct SettleResponse {
pub amount: Option<AtomicAmount>,
pub error_message: Option<String>,
pub error_reason: Option<String>,
pub network: Option<ChainNetwork>,
pub payer: Option<String>,
pub success: bool,
pub transaction: Option<String>,
}Expand description
SettleResponse
JSON schema
{
"type": "object",
"required": [
"success"
],
"properties": {
"amount": {
"$ref": "#/components/schemas/AtomicAmount"
},
"errorMessage": {
"type": "string"
},
"errorReason": {
"type": "string"
},
"network": {
"$ref": "#/components/schemas/ChainNetwork"
},
"payer": {
"type": "string"
},
"success": {
"type": "boolean"
},
"transaction": {
"type": "string"
}
}
}Fields§
§amount: Option<AtomicAmount>§error_message: Option<String>§error_reason: Option<String>§network: Option<ChainNetwork>§payer: Option<String>§success: bool§transaction: Option<String>Implementations§
Source§impl SettleResponse
impl SettleResponse
pub fn builder() -> SettleResponse
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 (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 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
Source§impl From<SettleResponse> for SettleResponse
impl From<SettleResponse> for SettleResponse
Source§fn from(value: SettleResponse) -> Self
fn from(value: SettleResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for SettleResponse
impl Serialize for SettleResponse
Source§impl TryFrom<SettleResponse> for SettleResponse
impl TryFrom<SettleResponse> for SettleResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SettleResponse) -> Result<Self, ConversionError>
fn try_from(value: SettleResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SettleResponse
impl RefUnwindSafe for SettleResponse
impl Send for SettleResponse
impl Sync for SettleResponse
impl Unpin for SettleResponse
impl UnsafeUnpin 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