Struct Volume

Source
pub struct Volume {
Show 57 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: Type, pub access_capabilities: Option<Vec<StorageAccessCapability>>, pub actions: Option<Actions>, pub allocated_pools: Option<IdRef>, pub block_size_bytes: Option<i64>, pub capacity: Option<Capacity>, pub capacity_bytes: Option<i64>, pub capacity_sources: Option<Vec<CapacitySource>>, pub capacity_sources_odata_count: Option<Count>, pub compressed: Option<bool>, pub connections: Option<Vec<IdRef>>, pub connections_odata_count: Option<Count>, pub deduplicated: Option<bool>, pub description: Option<Description>, pub display_name: Option<String>, pub encrypted: Option<bool>, pub encryption_types: Option<Vec<EncryptionTypes>>, pub io_perf_mode_enabled: Option<bool>, pub io_statistics: Option<IOStatistics>, pub id: Id, pub identifiers: Option<Vec<Identifier>>, pub initialize_method: Option<InitializeMethod>, pub is_boot_capable: Option<bool>, pub links: Option<Links>, pub logical_unit_number: Option<i64>, pub low_space_warning_threshold_percents: Option<Vec<i64>>, pub manufacturer: Option<String>, pub max_block_size_bytes: Option<i64>, pub media_span_count: Option<i64>, pub metrics: Option<IdRef>, pub model: Option<String>, pub nvme_namespace_properties: Option<NVMeNamespaceProperties>, pub name: Name, pub oem: Option<Oem>, pub operations: Option<Vec<Operation>>, pub optimum_io_size_bytes: Option<i64>, pub provisioning_policy: Option<ProvisioningPolicy>, pub raid_type: Option<RAIDType>, pub read_cache_policy: Option<ReadCachePolicyType>, pub recoverable_capacity_source_count: Option<i64>, pub remaining_capacity_percent: Option<i64>, pub remote_replica_targets: Option<Vec<String>>, pub replica_info: Option<ReplicaInfo>, pub replica_targets: Option<Vec<IdRef>>, pub replica_targets_odata_count: Option<Count>, pub replication_enabled: Option<bool>, pub status: Option<Status>, pub storage_groups: Option<IdRef>, pub strip_size_bytes: Option<i64>, pub volume_type: Option<VolumeType>, pub volume_usage: Option<VolumeUsageType>, pub write_cache_policy: Option<WriteCachePolicyType>, pub write_cache_state: Option<WriteCacheStateType>, pub write_hole_protection_policy: Option<WriteHoleProtectionPolicyType>,
}
Expand description

Volume contains properties used to describe a volume, virtual disk, LUN, or other logical storage entity for any system.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§access_capabilities: Option<Vec<StorageAccessCapability>>

Supported IO access capabilities.

§actions: Option<Actions>§allocated_pools: Option<IdRef>§block_size_bytes: Option<i64>

The size of the smallest addressable unit (Block) of this volume in bytes.

§capacity: Option<Capacity>§capacity_bytes: Option<i64>

The size in bytes of this Volume.

§capacity_sources: Option<Vec<CapacitySource>>

An array of space allocations to this volume.

§capacity_sources_odata_count: Option<Count>§compressed: Option<bool>

Indicator of whether or not the Volume has compression enabled.

§connections: Option<Vec<IdRef>>

An array of references to Connections that includes this volume.

§connections_odata_count: Option<Count>§deduplicated: Option<bool>

Indicator of whether or not the Volume has deduplication enabled.

§description: Option<Description>§display_name: Option<String>

A user-configurable string to name the volume.

§encrypted: Option<bool>

Is this Volume encrypted.

§encryption_types: Option<Vec<EncryptionTypes>>

The types of encryption used by this Volume.

§io_perf_mode_enabled: Option<bool>

Indicates the IO performance mode setting for the volume.

§io_statistics: Option<IOStatistics>§id: Id§identifiers: Option<Vec<Identifier>>

The Durable names for the volume.

§initialize_method: Option<InitializeMethod>§is_boot_capable: Option<bool>

This property indicates whether or not the Volume contains a boot image and is capable of booting.

§links: Option<Links>§logical_unit_number: Option<i64>

Indicates the host-visible LogicalUnitNumber assigned to this Volume.

§low_space_warning_threshold_percents: Option<Vec<i64>>

Low space warning.

§manufacturer: Option<String>

The manufacturer or OEM of this storage volume.

§max_block_size_bytes: Option<i64>

Max Block size in bytes.

§media_span_count: Option<i64>

Indicates the number of media elements used per span in the secondary RAID for a hierarchical RAID type.

§metrics: Option<IdRef>§model: Option<String>

The model number for this storage volume.

§nvme_namespace_properties: Option<NVMeNamespaceProperties>§name: Name§oem: Option<Oem>§operations: Option<Vec<Operation>>

The operations currently running on the Volume.

§optimum_io_size_bytes: Option<i64>

The size in bytes of this Volume’s optimum IO size.

§provisioning_policy: Option<ProvisioningPolicy>§raid_type: Option<RAIDType>§read_cache_policy: Option<ReadCachePolicyType>§recoverable_capacity_source_count: Option<i64>

Current number of capacity source resources that are available as replacements.

§remaining_capacity_percent: Option<i64>

The percentage of the capacity remaining in the Volume.

§remote_replica_targets: Option<Vec<String>>

URIs to the resources that are remote target replicas of this source.

§replica_info: Option<ReplicaInfo>§replica_targets: Option<Vec<IdRef>>

The resources that are target replicas of this source.

§replica_targets_odata_count: Option<Count>§replication_enabled: Option<bool>

Indicates whether or not replication is enabled on the volume.

§status: Option<Status>§storage_groups: Option<IdRef>§strip_size_bytes: Option<i64>

The number of blocks (bytes) in a strip in a disk array that uses striped data mapping.

§volume_type: Option<VolumeType>§volume_usage: Option<VolumeUsageType>§write_cache_policy: Option<WriteCachePolicyType>§write_cache_state: Option<WriteCacheStateType>§write_hole_protection_policy: Option<WriteHoleProtectionPolicyType>

Trait Implementations§

Source§

impl Clone for Volume

Source§

fn clone(&self) -> Volume

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Volume

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Volume

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Volume

Source§

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 Metadata<'static> for Volume

Source§

const JSON_SCHEMA: &'static str = "Volume.v1_9_0.json"

Name of the json-schema file that describes the entity that implements this trait. Should be only the file name, so that it can be resolved relative to the URL of the redfish service, or the public Redfish schema index.
Source§

impl Serialize for Volume

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Volume

§

impl RefUnwindSafe for Volume

§

impl Send for Volume

§

impl Sync for Volume

§

impl Unpin for Volume

§

impl UnwindSafe for Volume

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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