pub struct Volume {
pub name: String,
pub azure_file: Option<AzureFileVolume>,
pub empty_dir: Option<EmptyDirVolume>,
pub secret: Option<SecretVolume>,
pub git_repo: Option<GitRepoVolume>,
}Expand description
The properties of the volume.
Fields§
§name: StringThe name of the volume.
azure_file: Option<AzureFileVolume>The properties of the Azure File volume. Azure File shares are mounted as volumes.
empty_dir: Option<EmptyDirVolume>The empty directory volume.
secret: Option<SecretVolume>The secret volume.
git_repo: Option<GitRepoVolume>Represents a volume that is populated with the contents of a git repository
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Volume
impl<'de> Deserialize<'de> for Volume
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
impl StructuralPartialEq for Volume
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnwindSafe for Volume
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