pub struct ClusterVolumeSpecAccessModeAccessibilityRequirements {
pub requisite: Option<Vec<Topology>>,
pub preferred: Option<Vec<Topology>>,
}
Expand description
Requirements for the accessible topology of the volume. These fields are optional. For an in-depth description of what these fields mean, see the CSI specification.
Fields§
§requisite: Option<Vec<Topology>>
A list of required topologies, at least one of which the volume must be accessible from.
preferred: Option<Vec<Topology>>
A list of topologies that the volume should attempt to be provisioned in.
Trait Implementations§
source§impl Clone for ClusterVolumeSpecAccessModeAccessibilityRequirements
impl Clone for ClusterVolumeSpecAccessModeAccessibilityRequirements
source§fn clone(&self) -> ClusterVolumeSpecAccessModeAccessibilityRequirements
fn clone(&self) -> ClusterVolumeSpecAccessModeAccessibilityRequirements
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 Default for ClusterVolumeSpecAccessModeAccessibilityRequirements
impl Default for ClusterVolumeSpecAccessModeAccessibilityRequirements
source§fn default() -> ClusterVolumeSpecAccessModeAccessibilityRequirements
fn default() -> ClusterVolumeSpecAccessModeAccessibilityRequirements
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterVolumeSpecAccessModeAccessibilityRequirements
impl<'de> Deserialize<'de> for ClusterVolumeSpecAccessModeAccessibilityRequirements
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<ClusterVolumeSpecAccessModeAccessibilityRequirements> for ClusterVolumeSpecAccessModeAccessibilityRequirements
impl PartialEq<ClusterVolumeSpecAccessModeAccessibilityRequirements> for ClusterVolumeSpecAccessModeAccessibilityRequirements
source§fn eq(
&self,
other: &ClusterVolumeSpecAccessModeAccessibilityRequirements
) -> bool
fn eq( &self, other: &ClusterVolumeSpecAccessModeAccessibilityRequirements ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.