Expand description
Kind of the authentication method to use when establishing a connection.
Variants
BasicAuth(String, String)
Use basic authentication with a username and password for API calls.
JWTAuth(String, String)
Use JWT authentication with a token for API calls after authenticating with username and password.
NoAuth
Use no authentication for API calls. This is only recommended for local development.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more