pub struct ExpressQuery<'m, C: Config> { /* private fields */ }
Expand description
Client to call the stkpush transaction status query API
Implementations§
Source§impl<'m, C: Config> ExpressQuery<'m, C>
impl<'m, C: Config> ExpressQuery<'m, C>
pub fn new(client: &'m Client<C>) -> Self
Sourcepub async fn create(
&self,
request: ExpressQueryRequest,
) -> Result<ExpressQueryResponse, MpesaError>
pub async fn create( &self, request: ExpressQueryRequest, ) -> Result<ExpressQueryResponse, MpesaError>
Creates a request for the provided parameters
Auto Trait Implementations§
impl<'m, C> Freeze for ExpressQuery<'m, C>
impl<'m, C> !RefUnwindSafe for ExpressQuery<'m, C>
impl<'m, C> Send for ExpressQuery<'m, C>where
C: Sync,
impl<'m, C> Sync for ExpressQuery<'m, C>where
C: Sync,
impl<'m, C> Unpin for ExpressQuery<'m, C>
impl<'m, C> !UnwindSafe for ExpressQuery<'m, 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