pub struct ServiceTaskSpecContainerSpecMount {
pub bind_options: Box<Option<ServiceTaskSpecContainerSpecMountBindOptions>>,
pub read_only: Box<Option<bool>>,
pub source: Box<Option<String>>,
pub target: Box<String>,
pub tmpfs_options: Box<Option<ServiceTaskSpecContainerSpecMountTmpfsOptions>>,
pub type: Box<String>,
pub volume_options: Box<Option<ServiceTaskSpecContainerSpecMountVolumeOptions>>,
}
Fields§
§bind_options: Box<Option<ServiceTaskSpecContainerSpecMountBindOptions>>
Optional configuration for the bind type
read_only: Box<Option<bool>>
Whether the mount should be read-only
source: Box<Option<String>>
Mount source (e.g. a volume name, a host path)
target: Box<String>
Container path
tmpfs_options: Box<Option<ServiceTaskSpecContainerSpecMountTmpfsOptions>>
Optional configuration for the tmpfs type
type: Box<String>
The mount type
volume_options: Box<Option<ServiceTaskSpecContainerSpecMountVolumeOptions>>
Optional configuration for the volume type
Implementations§
source§impl ServiceTaskSpecContainerSpecMount
impl ServiceTaskSpecContainerSpecMount
sourcepub fn builder() -> ServiceTaskSpecContainerSpecMountBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecMountBuilder
Create an instance of ServiceTaskSpecContainerSpecMount
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecMount
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecMount
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 ServiceTaskSpecContainerSpecMount
impl RefUnwindSafe for ServiceTaskSpecContainerSpecMount
impl Send for ServiceTaskSpecContainerSpecMount
impl Sync for ServiceTaskSpecContainerSpecMount
impl Unpin for ServiceTaskSpecContainerSpecMount
impl UnwindSafe for ServiceTaskSpecContainerSpecMount
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