pub struct ServiceTaskSpecContainerSpecConfig {
pub config_id: Box<String>,
pub config_name: Box<Option<String>>,
pub file_gid: Box<Option<String>>,
pub file_mode: Box<Option<i32>>,
pub file_name: Box<String>,
pub file_uid: Box<Option<String>>,
}
Fields§
§config_id: Box<String>
ID of the specific config that we’re referencing
config_name: Box<Option<String>>
Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
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
.
Implementations§
source§impl ServiceTaskSpecContainerSpecConfig
impl ServiceTaskSpecContainerSpecConfig
sourcepub fn builder() -> ServiceTaskSpecContainerSpecConfigBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecConfigBuilder
Create an instance of ServiceTaskSpecContainerSpecConfig
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecConfig
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecConfig
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 ServiceTaskSpecContainerSpecConfig
impl RefUnwindSafe for ServiceTaskSpecContainerSpecConfig
impl Send for ServiceTaskSpecContainerSpecConfig
impl Sync for ServiceTaskSpecContainerSpecConfig
impl Unpin for ServiceTaskSpecContainerSpecConfig
impl UnwindSafe for ServiceTaskSpecContainerSpecConfig
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