pub struct PersistentStorage {
pub size: String,
pub mount_path: String,
pub storage_type: Option<String>,
pub iops: Option<u32>,
pub throughput: Option<u32>,
}Expand description
Persistent storage configuration for stateful containers.
Fields§
§size: StringStorage size (e.g., “100Gi”, “500Gi”)
mount_path: StringMount path inside the container
storage_type: Option<String>Storage type (e.g., “gp3”, “io2” for AWS, “pd-ssd” for GCP)
iops: Option<u32>IOPS (for storage types that support it)
throughput: Option<u32>Throughput in MiB/s (for storage types that support it)
Trait Implementations§
Source§impl Clone for PersistentStorage
impl Clone for PersistentStorage
Source§fn clone(&self) -> PersistentStorage
fn clone(&self) -> PersistentStorage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistentStorage
impl Debug for PersistentStorage
Source§impl<'de> Deserialize<'de> for PersistentStorage
impl<'de> Deserialize<'de> for PersistentStorage
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 PersistentStorage
impl PartialEq for PersistentStorage
Source§impl Serialize for PersistentStorage
impl Serialize for PersistentStorage
impl Eq for PersistentStorage
impl StructuralPartialEq for PersistentStorage
Auto Trait Implementations§
impl Freeze for PersistentStorage
impl RefUnwindSafe for PersistentStorage
impl Send for PersistentStorage
impl Sync for PersistentStorage
impl Unpin for PersistentStorage
impl UnsafeUnpin for PersistentStorage
impl UnwindSafe for PersistentStorage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.