Struct nomad_client::models::csi_volume::CsiVolume[][src]

pub struct CsiVolume {
    pub ID: Option<String>,
    pub name: Option<String>,
    pub external_id: Option<String>,
    pub namespace: Option<String>,
    pub topologies: Option<Vec<CsiTopology>>,
    pub access_mode: Option<String>,
    pub attachment_mode: Option<String>,
    pub mount_options: Option<Box<CsiMountOptions>>,
    pub read_allocs: Option<HashMap<String, Allocation>>,
    pub write_allocs: Option<HashMap<String, Allocation>>,
    pub allocations: Option<Vec<AllocationListStub>>,
    pub schedulable: Option<bool>,
    pub plugin_id: Option<String>,
    pub provider: Option<String>,
    pub provider_version: Option<String>,
    pub controller_required: Option<bool>,
    pub controllers_healthy: Option<i32>,
    pub controllers_expected: Option<i32>,
    pub nodes_healthy: Option<i32>,
    pub nodes_expected: Option<i32>,
    pub resource_exhausted: Option<String>,
    pub create_index: Option<i32>,
    pub modify_index: Option<i32>,
}

Fields

ID: Option<String>name: Option<String>external_id: Option<String>namespace: Option<String>topologies: Option<Vec<CsiTopology>>access_mode: Option<String>attachment_mode: Option<String>mount_options: Option<Box<CsiMountOptions>>read_allocs: Option<HashMap<String, Allocation>>write_allocs: Option<HashMap<String, Allocation>>allocations: Option<Vec<AllocationListStub>>schedulable: Option<bool>plugin_id: Option<String>provider: Option<String>provider_version: Option<String>controller_required: Option<bool>controllers_healthy: Option<i32>controllers_expected: Option<i32>nodes_healthy: Option<i32>nodes_expected: Option<i32>resource_exhausted: Option<String>create_index: Option<i32>modify_index: Option<i32>

Implementations

impl CsiVolume[src]

pub fn new() -> CsiVolume[src]

Trait Implementations

impl Clone for CsiVolume[src]

impl Debug for CsiVolume[src]

impl<'de> Deserialize<'de> for CsiVolume[src]

impl PartialEq<CsiVolume> for CsiVolume[src]

impl Serialize for CsiVolume[src]

impl StructuralPartialEq for CsiVolume[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.