redfish_codegen/models/volume/v1_9_0/
namespace_features.rs1#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5#[derive(derivative::Derivative)]
6#[derivative(Default)]
7pub struct NamespaceFeatures {
8 #[serde(rename = "SupportsAtomicTransactionSize")]
10 #[serde(default, skip_serializing_if = "Option::is_none")]
11 pub supports_atomic_transaction_size: Option<bool>,
12 #[serde(rename = "SupportsDeallocatedOrUnwrittenLBError")]
14 #[serde(default, skip_serializing_if = "Option::is_none")]
15 pub supports_deallocated_or_unwritten_lb_error: Option<bool>,
16 #[serde(rename = "SupportsIOPerformanceHints")]
18 #[serde(default, skip_serializing_if = "Option::is_none")]
19 pub supports_io_performance_hints: Option<bool>,
20 #[serde(rename = "SupportsNGUIDReuse")]
22 #[serde(default, skip_serializing_if = "Option::is_none")]
23 pub supports_nguid_reuse: Option<bool>,
24 #[serde(rename = "SupportsThinProvisioning")]
26 #[serde(default, skip_serializing_if = "Option::is_none")]
27 pub supports_thin_provisioning: Option<bool>,
28}
29
30impl crate::Metadata<'static> for NamespaceFeatures {
31 const JSON_SCHEMA: &'static str = "Volume.v1_9_0.json";
32}