pub struct Pay {
pub attributes: PayAttributes,
pub prompts: Vec<Prompt>,
pub parameters: Vec<Parameter>,
}Fields§
§attributes: PayAttributes§prompts: Vec<Prompt>§parameters: Vec<Parameter>Implementations§
Source§impl Pay
impl Pay
pub fn new() -> Self
pub fn input(self, input: impl Into<String>) -> Self
pub fn action(self, action: impl Into<String>) -> Self
pub fn charge_amount(self, charge_amount: impl Into<String>) -> Self
pub fn currency(self, currency: impl Into<String>) -> Self
pub fn payment_connector(self, payment_connector: impl Into<String>) -> Self
pub fn payment_method(self, payment_method: impl Into<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pay
impl RefUnwindSafe for Pay
impl Send for Pay
impl Sync for Pay
impl Unpin for Pay
impl UnwindSafe for Pay
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