Struct homie_controller::EnumValue
source · pub struct EnumValue(_);
Expand description
The value of a Homie enum property.
This must be a non-empty string.
Implementations§
Trait Implementations§
source§impl PartialEq<EnumValue> for EnumValue
impl PartialEq<EnumValue> for EnumValue
source§impl Value for EnumValue
impl Value for EnumValue
source§fn valid_for(
datatype: Option<Datatype>,
format: &Option<String>
) -> Result<(), ValueError>
fn valid_for( datatype: Option<Datatype>, format: &Option<String> ) -> Result<(), ValueError>
Check whether this value type is valid for the given property datatype and format string. Read more
source§fn valid_for_format(_format: &str) -> Result<(), ValueError>
fn valid_for_format(_format: &str) -> Result<(), ValueError>
Check whether this value type is valid for the given property format string. Read more
impl Eq for EnumValue
impl StructuralEq for EnumValue
impl StructuralPartialEq for EnumValue
Auto Trait Implementations§
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnwindSafe for EnumValue
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