pub struct Volume {Show 25 fields
pub id: i64,
pub account: Ref,
pub storage: Ref,
pub region: Ref,
pub region_cluster: Option<Ref>,
pub name: String,
pub description: Option<String>,
pub volume_type: String,
pub encryption: bool,
pub quota_limit: i64,
pub live_volume: i64,
pub total_volume: i64,
pub pending_volume: i64,
pub live_inactive_volume: i64,
pub locked: bool,
pub retention_period: i32,
pub grace_period: i32,
pub fork_grace_period: i32,
pub event_log_retention_period: i32,
pub is_active: bool,
pub is_cleanup_meta_enabled: bool,
pub is_cleanup_storage_enabled: bool,
pub is_cleanup_vault_enabled: bool,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: i64§account: Ref§storage: Ref§region: Ref§region_cluster: Option<Ref>§name: String§description: Option<String>§volume_type: String§encryption: bool§quota_limit: i64§live_volume: i64§total_volume: i64§pending_volume: i64§live_inactive_volume: i64§locked: bool§retention_period: i32§grace_period: i32§fork_grace_period: i32§event_log_retention_period: i32§is_active: bool§is_cleanup_meta_enabled: bool§is_cleanup_storage_enabled: bool§is_cleanup_vault_enabled: bool§created_at: String§updated_at: StringTrait 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
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnsafeUnpin 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