pub enum CloudSnapshotLocation {
Managed {
id: String,
},
HostVolume {
path: String,
},
}Expand description
Public locator for a managed or host-volume cloud snapshot.
Variants§
Managed
Held in managed snapshot storage.
HostVolume
Stored in a directory on a mounted host volume.
Trait Implementations§
Source§impl Clone for CloudSnapshotLocation
impl Clone for CloudSnapshotLocation
Source§fn clone(&self) -> CloudSnapshotLocation
fn clone(&self) -> CloudSnapshotLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudSnapshotLocation
impl Debug for CloudSnapshotLocation
Source§impl<'de> Deserialize<'de> for CloudSnapshotLocation
impl<'de> Deserialize<'de> for CloudSnapshotLocation
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
impl Eq for CloudSnapshotLocation
Source§impl PartialEq for CloudSnapshotLocation
impl PartialEq for CloudSnapshotLocation
Source§impl Serialize for CloudSnapshotLocation
impl Serialize for CloudSnapshotLocation
impl StructuralPartialEq for CloudSnapshotLocation
Auto Trait Implementations§
impl Freeze for CloudSnapshotLocation
impl RefUnwindSafe for CloudSnapshotLocation
impl Send for CloudSnapshotLocation
impl Sync for CloudSnapshotLocation
impl Unpin for CloudSnapshotLocation
impl UnsafeUnpin for CloudSnapshotLocation
impl UnwindSafe for CloudSnapshotLocation
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