pub struct PaymentParams<'a> {
pub payee_payment_reference: Option<&'a str>,
pub payer_alias: Option<&'a str>,
pub payee_alias: &'a str,
pub amount: f64,
pub message: Option<&'a str>,
pub callback_url: &'a str,
/* private fields */
}
Expand description
Params used to create a new payment.
Fields§
§payee_payment_reference: Option<&'a str>
§payer_alias: Option<&'a str>
§payee_alias: &'a str
§amount: f64
§message: Option<&'a str>
§callback_url: &'a str
Trait Implementations§
Source§impl<'a> Debug for PaymentParams<'a>
impl<'a> Debug for PaymentParams<'a>
Source§impl<'a> Default for PaymentParams<'a>
impl<'a> Default for PaymentParams<'a>
Source§fn default() -> PaymentParams<'a>
fn default() -> PaymentParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PaymentParams<'a>
impl<'a> RefUnwindSafe for PaymentParams<'a>
impl<'a> Send for PaymentParams<'a>
impl<'a> Sync for PaymentParams<'a>
impl<'a> Unpin for PaymentParams<'a>
impl<'a> UnwindSafe for PaymentParams<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more