Enum squark::AttributeValue
[−]
[src]
pub enum AttributeValue { String(String), Bool(bool), }
Variants
String(String)
Bool(bool)
Trait Implementations
impl Clone for AttributeValue
[src]
fn clone(&self) -> AttributeValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AttributeValue
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for AttributeValue
[src]
fn eq(&self, __arg_0: &AttributeValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AttributeValue) -> bool
[src]
This method tests for !=
.
impl From<String> for AttributeValue
[src]
fn from(s: String) -> AttributeValue
[src]
Performs the conversion.
impl<'a> From<&'a str> for AttributeValue
[src]
fn from(s: &'a str) -> AttributeValue
[src]
Performs the conversion.
impl From<bool> for AttributeValue
[src]
fn from(b: bool) -> AttributeValue
[src]
Performs the conversion.