pub struct Get<'a, C>where
C: Inner,{ /* private fields */ }
Expand description
A request to retrieve a list of transactions from the Monzo API
Use the builder-style methods to set optional fields on the request
Implementations§
Source§impl<'a, C> Request<'a, C>where
C: Inner,
impl<'a, C> Request<'a, C>where
C: Inner,
Sourcepub const fn expand_merchant(self) -> Self
pub const fn expand_merchant(self) -> Self
Optionally expand the merchant field from an id string into a struct container merchant details
Sourcepub async fn send(self) -> Result<Transaction>
pub async fn send(self) -> Result<Transaction>
Consume the request and return the Transaction
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for Request<'a, C>
impl<'a, C> RefUnwindSafe for Request<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Request<'a, C>
impl<'a, C> Sync for Request<'a, C>
impl<'a, C> Unpin for Request<'a, C>
impl<'a, C> UnwindSafe for Request<'a, C>where
C: RefUnwindSafe,
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