pub struct CSISnapshot {
pub size_bytes: i64,
pub create_time: i64,
pub is_ready: bool,
pub source_volume_id: String,
pub plugin_id: String,
pub name: String,
pub secrets: HashMap<String, String>,
pub external_source_volume_id: String,
pub parameters: HashMap<String, String>,
pub id: String,
}
Expand description
CSISnapshot is the storage provider’s view of a volume snapshot
This struct was generated based on the Go types of the official Nomad API.
Fields§
§size_bytes: i64
§create_time: i64
§is_ready: bool
§source_volume_id: String
§plugin_id: String
§name: String
These field are only used during snapshot creation and will not be populated when the snapshot is returned
secrets: HashMap<String, String>
§external_source_volume_id: String
§parameters: HashMap<String, String>
§id: String
Trait Implementations§
Source§impl Clone for CSISnapshot
impl Clone for CSISnapshot
Source§fn clone(&self) -> CSISnapshot
fn clone(&self) -> CSISnapshot
Returns a copy 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 CSISnapshot
impl Debug for CSISnapshot
Source§impl Default for CSISnapshot
impl Default for CSISnapshot
Source§fn default() -> CSISnapshot
fn default() -> CSISnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CSISnapshot
impl<'de> Deserialize<'de> for CSISnapshot
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 CSISnapshot
impl PartialEq for CSISnapshot
Source§impl Serialize for CSISnapshot
impl Serialize for CSISnapshot
impl StructuralPartialEq for CSISnapshot
Auto Trait Implementations§
impl Freeze for CSISnapshot
impl RefUnwindSafe for CSISnapshot
impl Send for CSISnapshot
impl Sync for CSISnapshot
impl Unpin for CSISnapshot
impl UnwindSafe for CSISnapshot
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