pub struct ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State = __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__File, __Registry> ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<(__File, __Registry)>
impl<__File, __Registry> ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<(__File, __Registry)>
sourcepub fn build_struct(
self,
) -> ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
pub fn build_struct( self, ) -> ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
Finishes building and returns the requested object.
sourcepub fn maybe_file(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Filewhere
__File: IsUnset,
pub fn maybe_file(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Filewhere
__File: IsUnset,
Same as [Self::r#file
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn file(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Filewhere
__File: IsUnset,
pub fn file(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Filewhere
__File: IsUnset,
Load credential spec from this file
sourcepub fn maybe_registry(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Registrywhere
__Registry: IsUnset,
pub fn maybe_registry(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilderSetMember>::Registrywhere
__Registry: IsUnset,
Same as [Self::r#registry
], but accepts an Option
as input. See that method’s documentation for more details.
Auto Trait Implementations§
impl<___State> Freeze for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: Send,
impl<___State> Sync for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder<___State>where
___State: UnwindSafe,
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