pub struct PaymentResult {
pub success: bool,
pub verification_url: String,
}
Expand description
Contains the result of a payment request
Fields§
§success: bool
True, if the payment request was successful; otherwise, the verification_url will be non-empty
verification_url: String
URL for additional payment credentials verification
Trait Implementations§
Source§impl Clone for PaymentResult
impl Clone for PaymentResult
Source§fn clone(&self) -> PaymentResult
fn clone(&self) -> PaymentResult
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 PaymentResult
impl Debug for PaymentResult
Source§impl Default for PaymentResult
impl Default for PaymentResult
Source§fn default() -> PaymentResult
fn default() -> PaymentResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentResult
impl<'de> Deserialize<'de> for PaymentResult
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 PartialEq for PaymentResult
impl PartialEq for PaymentResult
Source§impl Serialize for PaymentResult
impl Serialize for PaymentResult
impl StructuralPartialEq for PaymentResult
Auto Trait Implementations§
impl Freeze for PaymentResult
impl RefUnwindSafe for PaymentResult
impl Send for PaymentResult
impl Sync for PaymentResult
impl Unpin for PaymentResult
impl UnwindSafe for PaymentResult
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