Enum gapi_grpc::google::maps::playablelocations::v3::player_report::BadLocationReason[][src]

#[repr(i32)]pub enum BadLocationReason {
    Unspecified,
    Other,
    NotPedestrianAccessible,
    NotOpenToPublic,
    PermanentlyClosed,
    TemporarilyInaccessible,
}

The reason why the playable location is considered bad.

Variants

Unspecified

Unspecified reason. Do not use.

Other

The reason isn’t one of the reasons in this enumeration.

NotPedestrianAccessible

The playable location isn’t accessible to pedestrians. For example, if it’s in the middle of a highway.

NotOpenToPublic

The playable location isn’t open to the public. For example, a private office building.

PermanentlyClosed

The playable location is permanently closed. For example, when a business has been shut down.

TemporarilyInaccessible

The playable location is temporarily inaccessible. For example, when a business has closed for renovations.

Implementations

impl BadLocationReason[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of BadLocationReason.

pub fn from_i32(value: i32) -> Option<BadLocationReason>[src]

Converts an i32 to a BadLocationReason, or None if value is not a valid variant.

Trait Implementations

impl Clone for BadLocationReason[src]

impl Copy for BadLocationReason[src]

impl Debug for BadLocationReason[src]

impl Default for BadLocationReason[src]

impl Eq for BadLocationReason[src]

impl From<BadLocationReason> for i32[src]

impl Hash for BadLocationReason[src]

impl Ord for BadLocationReason[src]

impl PartialEq<BadLocationReason> for BadLocationReason[src]

impl PartialOrd<BadLocationReason> for BadLocationReason[src]

impl StructuralEq for BadLocationReason[src]

impl StructuralPartialEq for BadLocationReason[src]

Auto Trait Implementations

impl RefUnwindSafe for BadLocationReason

impl Send for BadLocationReason

impl Sync for BadLocationReason

impl Unpin for BadLocationReason

impl UnwindSafe for BadLocationReason

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]