pub enum EmailPaymentRes {
ExistingZbdAccount(EmailPaymentData),
Voucher(VoucherData),
}
Variants§
ExistingZbdAccount(EmailPaymentData)
Email is associated with an existing ZBD App account, then that user account will be credited the sats.
Voucher(VoucherData)
Email not associated to a ZBD account, the sats will be issued to the email in the form of a valid ZBD Voucher that the recipient can redeem in the ZBD Mobile App.
Trait Implementations§
Source§impl Clone for EmailPaymentRes
impl Clone for EmailPaymentRes
Source§fn clone(&self) -> EmailPaymentRes
fn clone(&self) -> EmailPaymentRes
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 EmailPaymentRes
impl Debug for EmailPaymentRes
Source§impl<'de> Deserialize<'de> for EmailPaymentRes
impl<'de> Deserialize<'de> for EmailPaymentRes
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 EmailPaymentRes
impl RefUnwindSafe for EmailPaymentRes
impl Send for EmailPaymentRes
impl Sync for EmailPaymentRes
impl Unpin for EmailPaymentRes
impl UnwindSafe for EmailPaymentRes
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