pub struct RemoteImageBuildAuthConfigBuilder<___State = __RemoteImageBuildAuthConfigBuilderInitialState> { /* private fields */ }
Expand description

Use builder syntax to set the required parameters and finish by calling the method Self::build_struct().

Implementations§

source§

impl<__Auth, __Email, __HostName, __IdentityToken, __Password, __RegistryToken, __ServerAddress, __UserName> RemoteImageBuildAuthConfigBuilder<(__Auth, __Email, __HostName, __IdentityToken, __Password, __RegistryToken, __ServerAddress, __UserName)>

source

pub fn build_struct(self) -> RemoteImageBuildAuthConfig
where __Auth: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__auth>, __Email: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__email>, __HostName: IntoSet<Box<String>, RemoteImageBuildAuthConfigBuilder__host_name>, __IdentityToken: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__identity_token>, __Password: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__password>, __RegistryToken: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__registry_token>, __ServerAddress: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__server_address>, __UserName: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildAuthConfigBuilder__user_name>,

Finishes building and returns the requested object.

source

pub fn maybe_auth( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Auth
where __Auth: IsUnset,

Same as [Self::r#auth], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn auth( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Auth
where __Auth: IsUnset,

the auth token

source

pub fn maybe_email( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Email
where __Email: IsUnset,

Same as [Self::r#email], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn email( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Email
where __Email: IsUnset,

the user emal

source

pub fn host_name( self, value: impl Into<Box<String>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::HostName
where __HostName: IsUnset,

hostname of the registry

source

pub fn maybe_identity_token( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::IdentityToken
where __IdentityToken: IsUnset,

Same as [Self::r#identity_token], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn identity_token( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::IdentityToken
where __IdentityToken: IsUnset,

the identity token

source

pub fn maybe_password( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Password
where __Password: IsUnset,

Same as [Self::r#password], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn password( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::Password
where __Password: IsUnset,

the registry password

source

pub fn maybe_registry_token( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::RegistryToken
where __RegistryToken: IsUnset,

Same as [Self::r#registry_token], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn registry_token( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::RegistryToken
where __RegistryToken: IsUnset,

the registry token

source

pub fn maybe_server_address( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::ServerAddress
where __ServerAddress: IsUnset,

Same as [Self::r#server_address], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn server_address( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::ServerAddress
where __ServerAddress: IsUnset,

the server address

source

pub fn maybe_user_name( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::UserName
where __UserName: IsUnset,

Same as [Self::r#user_name], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn user_name( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __RemoteImageBuildAuthConfigBuilderSetMember>::UserName
where __UserName: IsUnset,

the registry user name

Auto Trait Implementations§

§

impl<___State> Freeze for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: Freeze,

§

impl<___State> RefUnwindSafe for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: RefUnwindSafe,

§

impl<___State> Send for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: Send,

§

impl<___State> Sync for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: Sync,

§

impl<___State> Unpin for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: Unpin,

§

impl<___State> UnwindSafe for RemoteImageBuildAuthConfigBuilder<___State>
where ___State: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.