pub struct CsiVolumeExternalStub {
pub snapshot_id: String,
pub published_external_node_i_ds: Vec<String>,
pub is_abnormal: bool,
pub status: String,
pub external_id: String,
pub capacity_bytes: i64,
pub volume_context: HashMap<String, String>,
pub clone_id: String,
}
Expand description
CSIVolumeExternalStub is the storage provider’s view of a volume, as returned from the controller plugin; all IDs are for external resources
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§snapshot_id: String
§published_external_node_i_ds: Vec<String>
§is_abnormal: bool
§status: String
§external_id: String
§capacity_bytes: i64
§volume_context: HashMap<String, String>
§clone_id: String
Trait Implementations§
Source§impl Clone for CsiVolumeExternalStub
impl Clone for CsiVolumeExternalStub
Source§fn clone(&self) -> CsiVolumeExternalStub
fn clone(&self) -> CsiVolumeExternalStub
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 CsiVolumeExternalStub
impl Debug for CsiVolumeExternalStub
Source§impl Default for CsiVolumeExternalStub
impl Default for CsiVolumeExternalStub
Source§fn default() -> CsiVolumeExternalStub
fn default() -> CsiVolumeExternalStub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CsiVolumeExternalStub
impl<'de> Deserialize<'de> for CsiVolumeExternalStub
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 CsiVolumeExternalStub
impl PartialEq for CsiVolumeExternalStub
Source§impl Serialize for CsiVolumeExternalStub
impl Serialize for CsiVolumeExternalStub
impl StructuralPartialEq for CsiVolumeExternalStub
Auto Trait Implementations§
impl Freeze for CsiVolumeExternalStub
impl RefUnwindSafe for CsiVolumeExternalStub
impl Send for CsiVolumeExternalStub
impl Sync for CsiVolumeExternalStub
impl Unpin for CsiVolumeExternalStub
impl UnwindSafe for CsiVolumeExternalStub
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