pub struct NetworkVolume {
pub id: String,
pub name: String,
pub size: i32,
pub data_center_id: String,
}Expand description
A persistent network-attached storage volume.
Network volumes provide persistent storage that can be shared across multiple Pods and persists beyond individual Pod lifecycles. They are located in specific data centers and can be mounted to Pods in the same region.
Fields§
§id: StringUnique identifier for this network volume.
name: StringUser-defined name for this network volume.
size: i32Storage capacity of this volume in gigabytes.
data_center_id: StringData center where this network volume is located.
Trait Implementations§
Source§impl Clone for NetworkVolume
impl Clone for NetworkVolume
Source§fn clone(&self) -> NetworkVolume
fn clone(&self) -> NetworkVolume
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 NetworkVolume
impl Debug for NetworkVolume
Source§impl<'de> Deserialize<'de> for NetworkVolume
impl<'de> Deserialize<'de> for NetworkVolume
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 NetworkVolume
impl RefUnwindSafe for NetworkVolume
impl Send for NetworkVolume
impl Sync for NetworkVolume
impl Unpin for NetworkVolume
impl UnwindSafe for NetworkVolume
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