pub struct VoidPaymentSession<'a> { /* private fields */ }Expand description
Builder for [Client::void_payment_session]
[`Client::void_payment_session`]: super::Client::void_payment_sessionImplementations§
Source§impl<'a> VoidPaymentSession<'a>
impl<'a> VoidPaymentSession<'a>
pub fn new(client: &'a Client) -> Self
pub fn payment_session_id<V>(self, value: V) -> Selfwhere
V: TryInto<PaymentSessionId>,
pub fn x_idempotency_key<V>(self, value: V) -> Selfwhere
V: TryInto<VoidPaymentSessionXIdempotencyKey>,
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Trait Implementations§
Source§impl<'a> Clone for VoidPaymentSession<'a>
impl<'a> Clone for VoidPaymentSession<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VoidPaymentSession<'a>
impl<'a> !UnwindSafe for VoidPaymentSession<'a>
impl<'a> Freeze for VoidPaymentSession<'a>
impl<'a> Send for VoidPaymentSession<'a>
impl<'a> Sync for VoidPaymentSession<'a>
impl<'a> Unpin for VoidPaymentSession<'a>
impl<'a> UnsafeUnpin for VoidPaymentSession<'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