Struct assemblyline_models::datastore::service::PersistentVolume
source · pub struct PersistentVolume {
pub mount_path: String,
pub capacity: String,
pub storage_class: String,
pub access_mode: AccessMode,
}
Expand description
Container’s Persistent Volume Configuration
Fields§
§mount_path: String
Path into the container to mount volume
capacity: String
The amount of storage allocated for volume
storage_class: String
Storage class used to create volume
access_mode: AccessMode
Access mode for volume
Trait Implementations§
source§impl Debug for PersistentVolume
impl Debug for PersistentVolume
source§impl Described<ElasticMeta> for PersistentVolume
impl Described<ElasticMeta> for PersistentVolume
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for PersistentVolume
impl<'de> Deserialize<'de> for PersistentVolume
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
source§impl PartialEq for PersistentVolume
impl PartialEq for PersistentVolume
source§fn eq(&self, other: &PersistentVolume) -> bool
fn eq(&self, other: &PersistentVolume) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PersistentVolume
impl Serialize for PersistentVolume
impl Eq for PersistentVolume
impl StructuralPartialEq for PersistentVolume
Auto Trait Implementations§
impl RefUnwindSafe for PersistentVolume
impl Send for PersistentVolume
impl Sync for PersistentVolume
impl Unpin for PersistentVolume
impl UnwindSafe for PersistentVolume
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.