pub struct Auth {}Trait Implementations§
Source§impl CrudAuth for Auth
impl CrudAuth for Auth
Source§fn clap_auth(&self, app: Command) -> Command
fn clap_auth(&self, app: Command) -> Command
Create the arguments for the CLI.
For examples, it can create the
--login, --password arguments.Source§fn clap_matches(
&mut self,
_matches: &ArgMatches,
_app: &mut Command,
_settings: &Config,
)
fn clap_matches( &mut self, _matches: &ArgMatches, _app: &mut Command, _settings: &Config, )
Process the arguments created by [clap_auth] function.
Source§fn auth_header(&self) -> (String, String)
fn auth_header(&self) -> (String, String)
Create an authentification header as a pair (name,valeur)
Source§fn error_help_message(&self) -> String
fn error_help_message(&self) -> String
The helpmessage displayed when the user is unauthorized.
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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