pub struct SDKRequest<'a, RP> { /* private fields */ }
Implementations§
Source§impl<'a, RP> SDKRequest<'a, RP>
impl<'a, RP> SDKRequest<'a, RP>
Sourcepub async fn execute(self) -> Result<RP, SDKError>where
RP: DeserializeOwned,
pub async fn execute(self) -> Result<RP, SDKError>where
RP: DeserializeOwned,
Injects bearer token, and return response
Trait Implementations§
Auto Trait Implementations§
impl<'a, RP> !Freeze for SDKRequest<'a, RP>
impl<'a, RP> !RefUnwindSafe for SDKRequest<'a, RP>
impl<'a, RP> Send for SDKRequest<'a, RP>where
RP: Send,
impl<'a, RP> Sync for SDKRequest<'a, RP>where
RP: Sync,
impl<'a, RP> Unpin for SDKRequest<'a, RP>where
RP: Unpin,
impl<'a, RP> !UnwindSafe for SDKRequest<'a, RP>
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