[][src]Struct auth0_management::client::Auth0Client

pub struct Auth0Client { /* fields omitted */ }

Auth0 management client.

Implementations

impl Auth0Client[src]

pub fn new(
    rate: RateLimit,
    token: TokenManager,
    client: Client,
    domain: &str
) -> Self
[src]

Create Auth0 client

pub async fn send<R, '_>(&'_ self, req: RequestBuilder) -> Auth0Result<R> where
    R: DeserializeOwned
[src]

Send request with auth0 client.

pub fn begin(&self, method: Method, path: &str) -> RequestBuilder[src]

Create auth0 request builder.

Arguments

  • method = The HTTP request method.
  • path - The HTTP request path.

Trait Implementations

impl<'a> AsRef<Auth0Client> for UserPermissionsDelete<'a>[src]

impl<'a> AsRef<Auth0Client> for UserPermissionsGet<'a>[src]

impl<'a> AsRef<Auth0Client> for UserPermissionsUpdate<'a>[src]

impl<'a> AsRef<Auth0Client> for UserLogsGet<'a>[src]

impl Debug for Auth0Client[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.