Enum google_maps::places::business_status::BusinessStatus
source · pub enum BusinessStatus {
Operational,
ClosedTemporarily,
ClosedPermanently,
}
Expand description
Indicates the operational status of the place, if it is a business. If no
data exists, business_status is not returned. The allowed values include:
OPERATIONAL
, CLOSED_TEMPORARILY
, and CLOSED_PERMANENTLY
.
Variants§
Trait Implementations§
source§impl Clone for BusinessStatus
impl Clone for BusinessStatus
source§fn clone(&self) -> BusinessStatus
fn clone(&self) -> BusinessStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BusinessStatus
impl Debug for BusinessStatus
source§impl Default for BusinessStatus
impl Default for BusinessStatus
source§impl<'de> Deserialize<'de> for BusinessStatus
impl<'de> Deserialize<'de> for BusinessStatus
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Manual implementation of Deserialize
for serde
. This will take
advantage of the phf
-powered TryFrom
implementation for this type.
source§impl Display for BusinessStatus
impl Display for BusinessStatus
source§impl From<&BusinessStatus> for String
impl From<&BusinessStatus> for String
source§fn from(status: &BusinessStatus) -> String
fn from(status: &BusinessStatus) -> String
Converts a BusinessStatus
enum to a String
that contains a
business status
code.
source§impl FromStr for BusinessStatus
impl FromStr for BusinessStatus
source§impl Hash for BusinessStatus
impl Hash for BusinessStatus
source§impl Ord for BusinessStatus
impl Ord for BusinessStatus
source§fn cmp(&self, other: &BusinessStatus) -> Ordering
fn cmp(&self, other: &BusinessStatus) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BusinessStatus> for BusinessStatus
impl PartialEq<BusinessStatus> for BusinessStatus
source§fn eq(&self, other: &BusinessStatus) -> bool
fn eq(&self, other: &BusinessStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BusinessStatus> for BusinessStatus
impl PartialOrd<BusinessStatus> for BusinessStatus
source§fn partial_cmp(&self, other: &BusinessStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &BusinessStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BusinessStatus
impl Serialize for BusinessStatus
source§impl TryFrom<&str> for BusinessStatus
impl TryFrom<&str> for BusinessStatus
impl Eq for BusinessStatus
impl StructuralEq for BusinessStatus
impl StructuralPartialEq for BusinessStatus
Auto Trait Implementations§
impl RefUnwindSafe for BusinessStatus
impl Send for BusinessStatus
impl Sync for BusinessStatus
impl Unpin for BusinessStatus
impl UnwindSafe for BusinessStatus
Blanket Implementations§
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.