Struct open_feature::StructValue
source · pub struct StructValue {
pub fields: HashMap<String, Value>,
}Expand description
Represent a structure value as defined in the spec.
Fields§
§fields: HashMap<String, Value>The fields of struct as key-value pairs.
Implementations§
Trait Implementations§
source§impl Clone for StructValue
impl Clone for StructValue
source§fn clone(&self) -> StructValue
fn clone(&self) -> StructValue
Returns a copy 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 StructValue
impl Debug for StructValue
source§impl Default for StructValue
impl Default for StructValue
source§fn default() -> StructValue
fn default() -> StructValue
Returns the “default value” for a type. Read more
source§impl From<StructValue> for Value
impl From<StructValue> for Value
source§fn from(value: StructValue) -> Self
fn from(value: StructValue) -> Self
Converts to this type from the input type.
source§impl PartialEq for StructValue
impl PartialEq for StructValue
source§fn eq(&self, other: &StructValue) -> bool
fn eq(&self, other: &StructValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StructValue
Auto Trait Implementations§
impl RefUnwindSafe for StructValue
impl Send for StructValue
impl Sync for StructValue
impl Unpin for StructValue
impl UnwindSafe for StructValue
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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