pub struct VolumeSnapshot {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub storage_volume: Option<String>,
pub type_: Option<String>,
}Expand description
A snapshot of a volume. Only boot volumes can have snapshots.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations volumes snapshots create projects (request|response)
- locations volumes snapshots get projects (response)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The creation time of the snapshot.
description: Option<String>The description of the snapshot.
id: Option<String>Output only. An identifier for the snapshot, generated by the backend.
name: Option<String>The name of the snapshot.
storage_volume: Option<String>Output only. The name of the volume which this snapshot belongs to.
type_: Option<String>Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
Trait Implementations§
Source§impl Clone for VolumeSnapshot
impl Clone for VolumeSnapshot
Source§fn clone(&self) -> VolumeSnapshot
fn clone(&self) -> VolumeSnapshot
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 VolumeSnapshot
impl Debug for VolumeSnapshot
Source§impl Default for VolumeSnapshot
impl Default for VolumeSnapshot
Source§fn default() -> VolumeSnapshot
fn default() -> VolumeSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeSnapshot
impl<'de> Deserialize<'de> for VolumeSnapshot
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 Serialize for VolumeSnapshot
impl Serialize for VolumeSnapshot
impl RequestValue for VolumeSnapshot
impl ResponseResult for VolumeSnapshot
Auto Trait Implementations§
impl Freeze for VolumeSnapshot
impl RefUnwindSafe for VolumeSnapshot
impl Send for VolumeSnapshot
impl Sync for VolumeSnapshot
impl Unpin for VolumeSnapshot
impl UnwindSafe for VolumeSnapshot
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