pub struct PaymentPrepareRequest { /* private fields */ }Implementations§
Source§impl PaymentPrepareRequest
impl PaymentPrepareRequest
pub fn action<T>(self, value: T) -> Self
pub fn idempotency_key<T>(self, value: T) -> Self
pub fn max_amount_wei<T>(self, value: T) -> Self
pub fn meter<T>(self, value: T) -> Self
pub fn method<T>(self, value: T) -> Self
pub fn resource<T>(self, value: T) -> Self
pub fn run_id<T>(self, value: T) -> Self
pub fn service<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PaymentPrepareRequest
impl Clone for PaymentPrepareRequest
Source§fn clone(&self) -> PaymentPrepareRequest
fn clone(&self) -> PaymentPrepareRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentPrepareRequest
impl Debug for PaymentPrepareRequest
Source§impl Default for PaymentPrepareRequest
impl Default for PaymentPrepareRequest
Source§impl From<PaymentPrepareRequest> for PaymentPrepareRequest
impl From<PaymentPrepareRequest> for PaymentPrepareRequest
Source§fn from(value: PaymentPrepareRequest) -> Self
fn from(value: PaymentPrepareRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PaymentPrepareRequest> for PaymentPrepareRequest
impl TryFrom<PaymentPrepareRequest> for PaymentPrepareRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PaymentPrepareRequest) -> Result<Self, ConversionError>
fn try_from(value: PaymentPrepareRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentPrepareRequest
impl RefUnwindSafe for PaymentPrepareRequest
impl Send for PaymentPrepareRequest
impl Sync for PaymentPrepareRequest
impl Unpin for PaymentPrepareRequest
impl UnsafeUnpin for PaymentPrepareRequest
impl UnwindSafe for PaymentPrepareRequest
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