Struct pulumi_wasm_docker::ContainerVolume
source · pub struct ContainerVolume {
pub container_path: Box<Option<String>>,
pub from_container: Box<Option<String>>,
pub host_path: Box<Option<String>>,
pub read_only: Box<Option<bool>>,
pub volume_name: Box<Option<String>>,
}
Fields§
§container_path: Box<Option<String>>
The path in the container where the volume will be mounted.
from_container: Box<Option<String>>
The container where the volume is coming from.
host_path: Box<Option<String>>
The path on the host where the volume is coming from.
read_only: Box<Option<bool>>
If true
, this volume will be readonly. Defaults to false
.
volume_name: Box<Option<String>>
The name of the docker volume which should be mounted.
Implementations§
source§impl ContainerVolume
impl ContainerVolume
sourcepub fn builder() -> ContainerVolumeBuilder
pub fn builder() -> ContainerVolumeBuilder
Create an instance of ContainerVolume
using the builder syntax
Trait Implementations§
source§impl Debug for ContainerVolume
impl Debug for ContainerVolume
source§impl<'de> Deserialize<'de> for ContainerVolume
impl<'de> Deserialize<'de> for ContainerVolume
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 ContainerVolume
impl RefUnwindSafe for ContainerVolume
impl Send for ContainerVolume
impl Sync for ContainerVolume
impl Unpin for ContainerVolume
impl UnwindSafe for ContainerVolume
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