pub enum ParameterTypes {
Boolean,
Number,
NumberArray,
String,
StringArray,
Object,
ObjectArray,
UnsupportedValue,
}Variants§
Boolean
A boolean.
Number
A number.
NumberArray
An array of numbers.
String
A string.
StringArray
An array of strings.
Object
An embedded JSON object.
ObjectArray
An array of JSON objects.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ParameterTypes
impl Clone for ParameterTypes
Source§fn clone(&self) -> ParameterTypes
fn clone(&self) -> ParameterTypes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParameterTypes
impl Debug for ParameterTypes
Source§impl<'de> Deserialize<'de> for ParameterTypes
impl<'de> Deserialize<'de> for ParameterTypes
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 ParameterTypes
impl PartialEq for ParameterTypes
Source§fn eq(&self, other: &ParameterTypes) -> bool
fn eq(&self, other: &ParameterTypes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParameterTypes
impl Serialize for ParameterTypes
Source§impl ToSnakeCase for ParameterTypes
impl ToSnakeCase for ParameterTypes
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 ParameterTypes
impl Eq for ParameterTypes
impl StructuralPartialEq for ParameterTypes
Auto Trait Implementations§
impl Freeze for ParameterTypes
impl RefUnwindSafe for ParameterTypes
impl Send for ParameterTypes
impl Sync for ParameterTypes
impl Unpin for ParameterTypes
impl UnsafeUnpin for ParameterTypes
impl UnwindSafe for ParameterTypes
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