Struct podman_api_stubs::models::ImageVolume [−][src]
pub struct ImageVolume {
pub destination: Option<String>,
pub read_write: Option<bool>,
pub source: Option<String>,
}
Expand description
ImageVolume is a volume based on a container image. The container image is first mounted on the host and is then bind-mounted into the container. An ImageVolume is always mounted read only.
Fields
destination: Option<String>
read_write: Option<bool>
source: Option<String>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageVolume
impl Send for ImageVolume
impl Sync for ImageVolume
impl Unpin for ImageVolume
impl UnwindSafe for ImageVolume
Blanket Implementations
Mutably borrows from an owned value. Read more