pub struct ServiceTaskSpecContainerSpecSecret {
pub file_gid: Box<Option<String>>,
pub file_mode: Box<Option<i32>>,
pub file_name: Box<String>,
pub file_uid: Box<Option<String>>,
pub secret_id: Box<String>,
pub secret_name: Box<Option<String>>,
}
Fields§
§file_gid: Box<Option<String>>
Represents the file GID. Defaults to 0
file_mode: Box<Option<i32>>
Represents represents the FileMode of the file. Defaults to 0o444
file_name: Box<String>
Represents the final filename in the filesystem
file_uid: Box<Option<String>>
Represents the file UID. Defaults to 0
secret_id: Box<String>
ID of the specific secret that we’re referencing
secret_name: Box<Option<String>>
Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
Implementations§
source§impl ServiceTaskSpecContainerSpecSecret
impl ServiceTaskSpecContainerSpecSecret
sourcepub fn builder() -> ServiceTaskSpecContainerSpecSecretBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecSecretBuilder
Create an instance of ServiceTaskSpecContainerSpecSecret
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecSecret
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecSecret
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 ServiceTaskSpecContainerSpecSecret
impl RefUnwindSafe for ServiceTaskSpecContainerSpecSecret
impl Send for ServiceTaskSpecContainerSpecSecret
impl Sync for ServiceTaskSpecContainerSpecSecret
impl Unpin for ServiceTaskSpecContainerSpecSecret
impl UnwindSafe for ServiceTaskSpecContainerSpecSecret
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