pub enum Property {
Web,
Images,
News,
Froogle,
Youtube,
}
Expand description
Create a new Property.
The available property are :
web
,images
,news
,froogle
(Google Shopping), andyoutube
Returns a Property
instance.
Example
let property = Property::Web;
Variants§
Trait Implementations§
source§impl PartialEq<Property> for Property
impl PartialEq<Property> for Property
source§impl VariantNames for Property
impl VariantNames for Property
impl Eq for Property
impl StructuralEq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.