pub struct Redundancy {
pub odata_id: Id,
pub max_num_supported: Option<i64>,
pub member_id: String,
pub min_num_needed: i64,
pub mode: RedundancyMode,
pub name: String,
pub oem: Option<Oem>,
pub redundancy_enabled: Option<bool>,
pub redundancy_set: Vec<IdRef>,
pub redundancy_set_odata_count: Option<Count>,
pub status: Status,
}
Expand description
The common redundancy definition and structure used in other Redfish schemas.
Fields§
§odata_id: Id
§max_num_supported: Option<i64>
The maximum number of members allowable for this particular redundancy group.
member_id: String
The identifier for the member within the collection.
min_num_needed: i64
The minimum number of members needed for this group to be redundant.
mode: RedundancyMode
§name: String
The name of the resource or array member.
oem: Option<Oem>
§redundancy_enabled: Option<bool>
An indication of whether redundancy is enabled.
redundancy_set: Vec<IdRef>
The links to components of this redundancy set.
redundancy_set_odata_count: Option<Count>
§status: Status
Trait Implementations§
Source§impl Clone for Redundancy
impl Clone for Redundancy
Source§fn clone(&self) -> Redundancy
fn clone(&self) -> Redundancy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Redundancy
impl Debug for Redundancy
Source§impl Default for Redundancy
impl Default for Redundancy
Source§impl<'de> Deserialize<'de> for Redundancy
impl<'de> Deserialize<'de> for Redundancy
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 Metadata<'static> for Redundancy
impl Metadata<'static> for Redundancy
Source§const JSON_SCHEMA: &'static str = "Redundancy.v1_1_8.json"
const JSON_SCHEMA: &'static str = "Redundancy.v1_1_8.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.
Auto Trait Implementations§
impl Freeze for Redundancy
impl RefUnwindSafe for Redundancy
impl Send for Redundancy
impl Sync for Redundancy
impl Unpin for Redundancy
impl UnwindSafe for Redundancy
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