pub struct ApproveApiClient<C: Connect + 'static> { /* private fields */ }Implementations§
Source§impl<C: Connect + 'static> ApproveApiClient<C>
impl<C: Connect + 'static> ApproveApiClient<C>
pub fn new(configuration: Arc<Configuration<C>>) -> ApproveApiClient<C>
Trait Implementations§
Source§impl<C: Connect + 'static> ApproveApi for ApproveApiClient<C>
impl<C: Connect + 'static> ApproveApi for ApproveApiClient<C>
fn create_prompt( &self, create_prompt_request: CreatePromptRequest, ) -> Box<dyn Future<Item = Prompt, Error = Error<Value>> + Send>
fn get_prompt( &self, id: &str, long_poll: bool, ) -> Box<dyn Future<Item = Prompt, Error = Error<Value>> + Send>
fn get_prompt_status( &self, id: &str, ) -> Box<dyn Future<Item = PromptStatus, Error = Error<Value>> + Send>
Auto Trait Implementations§
impl<C> Freeze for ApproveApiClient<C>
impl<C> !RefUnwindSafe for ApproveApiClient<C>
impl<C> Send for ApproveApiClient<C>
impl<C> Sync for ApproveApiClient<C>
impl<C> Unpin for ApproveApiClient<C>
impl<C> !UnwindSafe for ApproveApiClient<C>
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