pub enum AttributeValue {
Null,
String(String),
Number(f64),
Boolean(bool),
Binary(Vec<u8>),
StringSet(Vec<String>),
NumberSet(Vec<f64>),
BinarySet(Vec<Vec<u8>>),
AttributeList(Vec<AttributeValue>),
AttributeMap(HashMap<String, AttributeValue>),
}
Variants§
Null
String(String)
Number(f64)
Boolean(bool)
Binary(Vec<u8>)
StringSet(Vec<String>)
NumberSet(Vec<f64>)
BinarySet(Vec<Vec<u8>>)
AttributeList(Vec<AttributeValue>)
AttributeMap(HashMap<String, AttributeValue>)
Trait Implementations§
source§impl Clone for AttributeValue
impl Clone for AttributeValue
source§fn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
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 AttributeValue
impl Debug for AttributeValue
source§impl Default for AttributeValue
impl Default for AttributeValue
source§fn default() -> AttributeValue
fn default() -> AttributeValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AttributeValue
impl<'de> Deserialize<'de> for AttributeValue
source§fn deserialize<D>(deserializer: D) -> Result<AttributeValue, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<AttributeValue, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AttributeValue> for AttributeValue
impl PartialEq<AttributeValue> for AttributeValue
source§fn eq(&self, other: &AttributeValue) -> bool
fn eq(&self, other: &AttributeValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.