pub struct SubmitPaymentResult {
pub success: bool,
pub message: String,
pub status: String,
}Expand description
Result of submitting a cryptocurrency payment transaction.
Fields§
§success: boolWhether the submission was accepted
message: StringHuman-readable status message
status: StringCurrent status of the order (e.g. “pending”, “confirming”, “complete”)
Trait Implementations§
Source§impl Clone for SubmitPaymentResult
impl Clone for SubmitPaymentResult
Source§fn clone(&self) -> SubmitPaymentResult
fn clone(&self) -> SubmitPaymentResult
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 SubmitPaymentResult
impl Debug for SubmitPaymentResult
Source§impl<'de> Deserialize<'de> for SubmitPaymentResult
impl<'de> Deserialize<'de> for SubmitPaymentResult
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 SubmitPaymentResult
impl RefUnwindSafe for SubmitPaymentResult
impl Send for SubmitPaymentResult
impl Sync for SubmitPaymentResult
impl Unpin for SubmitPaymentResult
impl UnsafeUnpin for SubmitPaymentResult
impl UnwindSafe for SubmitPaymentResult
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