pub enum ResetToDefaultsType {
ResetAll,
PreserveNetworkAndUsers,
PreserveNetwork,
UnsupportedValue,
}Variants§
ResetAll
Reset all settings to factory defaults.
PreserveNetworkAndUsers
Reset all settings except network and local usernames/passwords to factory defaults.
PreserveNetwork
Reset all settings except network settings to factory defaults.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ResetToDefaultsType
impl Clone for ResetToDefaultsType
Source§fn clone(&self) -> ResetToDefaultsType
fn clone(&self) -> ResetToDefaultsType
Returns a duplicate 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 Debug for ResetToDefaultsType
impl Debug for ResetToDefaultsType
Source§impl<'de> Deserialize<'de> for ResetToDefaultsType
impl<'de> Deserialize<'de> for ResetToDefaultsType
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 for ResetToDefaultsType
impl PartialEq for ResetToDefaultsType
Source§impl Serialize for ResetToDefaultsType
impl Serialize for ResetToDefaultsType
Source§impl ToSnakeCase for ResetToDefaultsType
impl ToSnakeCase for ResetToDefaultsType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for ResetToDefaultsType
impl Eq for ResetToDefaultsType
impl StructuralPartialEq for ResetToDefaultsType
Auto Trait Implementations§
impl Freeze for ResetToDefaultsType
impl RefUnwindSafe for ResetToDefaultsType
impl Send for ResetToDefaultsType
impl Sync for ResetToDefaultsType
impl Unpin for ResetToDefaultsType
impl UnsafeUnpin for ResetToDefaultsType
impl UnwindSafe for ResetToDefaultsType
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