pub struct ServiceTaskSpecContainerSpecPrivilegesCredentialSpec {
pub file: Box<Option<String>>,
pub registry: Box<Option<String>>,
}
Fields§
§file: Box<Option<String>>
Load credential spec from this file
registry: Box<Option<String>>
Load credential spec from this value in the Windows registry
Implementations§
source§impl ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
sourcepub fn builder() -> ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecPrivilegesCredentialSpecBuilder
Create an instance of ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl RefUnwindSafe for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl Send for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl Sync for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl Unpin for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
impl UnwindSafe for ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
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