pub struct BlendClient { /* private fields */ }
Implementations§
Source§impl BlendClient
impl BlendClient
pub fn new(url: &str) -> Self
pub fn with_authentication(self, authentication: BlendAuthentication) -> Self
pub fn authenticate<'a>(&self, r: RequestBuilder<'a>) -> RequestBuilder<'a>
pub fn with_middleware<M: Middleware + 'static>(self, middleware: M) -> Self
Sourcepub fn get_current_user(&self) -> GetCurrentUserRequest<'_>
pub fn get_current_user(&self) -> GetCurrentUserRequest<'_>
Get Current User
Auto Trait Implementations§
impl Freeze for BlendClient
impl !RefUnwindSafe for BlendClient
impl Send for BlendClient
impl Sync for BlendClient
impl Unpin for BlendClient
impl !UnwindSafe for BlendClient
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