Enum smf::PropertyValue [−][src]
pub enum PropertyValue { Boolean(bool), Count(u64), Integer(i64), Astring(String), Ustring(String), Fmri(Vec<String>), Other(String), }
Defines the values properties may have.
Variants
Boolean(bool)
A boolean value.
Count(u64)
An unsigned integer value.
Integer(i64)
An signed integer value.
Astring(String)
An 8-bit NULL-terminated string.
Disclaimer: This library treats Astring and Ustring objects identically, only distinguishing by the provided type name.
Ustring(String)
An 8-bit UTF-8 string string.
One or more FMRI objects.
Other(String)
Any other property type.
Trait Implementations
impl Debug for PropertyValue
[src]
impl Debug for PropertyValue
[src]impl FromStr for PropertyValue
[src]
impl FromStr for PropertyValue
[src]impl PartialEq<PropertyValue> for PropertyValue
[src]
impl PartialEq<PropertyValue> for PropertyValue
[src]fn eq(&self, other: &PropertyValue) -> bool
[src]
fn eq(&self, other: &PropertyValue) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PropertyValue) -> bool
[src]
fn ne(&self, other: &PropertyValue) -> bool
[src]This method tests for !=
.
impl ToString for PropertyValue
[src]
impl ToString for PropertyValue
[src]