pub enum PropertyBooleanValue {
IsSmartPhone(bool),
IsTablet(bool),
IsCrawler(bool),
}
Variants§
Implementations§
source§impl PropertyBooleanValue
impl PropertyBooleanValue
pub fn new(property_name: &PropertyName, value: bool) -> PropertyBooleanValue
Trait Implementations§
source§impl Debug for PropertyBooleanValue
impl Debug for PropertyBooleanValue
source§impl PartialEq<PropertyBooleanValue> for PropertyBooleanValue
impl PartialEq<PropertyBooleanValue> for PropertyBooleanValue
source§fn eq(&self, other: &PropertyBooleanValue) -> bool
fn eq(&self, other: &PropertyBooleanValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.