pub struct CredentialsArgs {
pub registry: Option<String>,
pub username: Option<String>,
pub password: Option<SecretValue>,
}Fields§
§registry: Option<String>The registry’s domain name.
username: Option<String>The username to login to the container registry.
password: Option<SecretValue>The password to login to the container registry.
Implementations§
Source§impl CredentialsArgs
impl CredentialsArgs
Sourcepub fn builder() -> CredentialsArgsBuilder
pub fn builder() -> CredentialsArgsBuilder
Create an instance of CredentialsArgs using the builder syntax
Trait Implementations§
Source§impl Args for CredentialsArgs
impl Args for CredentialsArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for CredentialsArgs
impl Clone for CredentialsArgs
Source§fn clone(&self) -> CredentialsArgs
fn clone(&self) -> CredentialsArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CredentialsArgs
impl Debug for CredentialsArgs
Source§impl Default for CredentialsArgs
impl Default for CredentialsArgs
Source§fn default() -> CredentialsArgs
fn default() -> CredentialsArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for CredentialsArgs
impl FromArgMatches for CredentialsArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CredentialsArgs
impl RefUnwindSafe for CredentialsArgs
impl Send for CredentialsArgs
impl Sync for CredentialsArgs
impl Unpin for CredentialsArgs
impl UnsafeUnpin for CredentialsArgs
impl UnwindSafe for CredentialsArgs
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