pub struct CreateOnrampMobileSession<'a> { /* private fields */ }Expand description
Builder for [Client::create_onramp_mobile_session]
[`Client::create_onramp_mobile_session`]: super::Client::create_onramp_mobile_sessionImplementations§
Source§impl<'a> CreateOnrampMobileSession<'a>
impl<'a> CreateOnrampMobileSession<'a>
pub fn new(client: &'a Client) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CreateOnrampMobileSessionRequest>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<CreateOnrampMobileSessionResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<CreateOnrampMobileSessionResponse>, Error<Error>>
Sends a POST request to /v2/onramp/mobile/sessions
Trait Implementations§
Source§impl<'a> Clone for CreateOnrampMobileSession<'a>
impl<'a> Clone for CreateOnrampMobileSession<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CreateOnrampMobileSession<'a>
impl<'a> !UnwindSafe for CreateOnrampMobileSession<'a>
impl<'a> Freeze for CreateOnrampMobileSession<'a>
impl<'a> Send for CreateOnrampMobileSession<'a>
impl<'a> Sync for CreateOnrampMobileSession<'a>
impl<'a> Unpin for CreateOnrampMobileSession<'a>
impl<'a> UnsafeUnpin for CreateOnrampMobileSession<'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