Struct google_api_proto::google::maps::places::v1::place::ParkingOptions
source · pub struct ParkingOptions {
pub free_parking_lot: Option<bool>,
pub paid_parking_lot: Option<bool>,
pub free_street_parking: Option<bool>,
pub paid_street_parking: Option<bool>,
pub valet_parking: Option<bool>,
pub free_garage_parking: Option<bool>,
pub paid_garage_parking: Option<bool>,
}
Expand description
Information about parking options for the place. A parking lot could support more than one option at the same time.
Fields§
§free_parking_lot: Option<bool>
Place offers free parking lots.
paid_parking_lot: Option<bool>
Place offers paid parking lots.
free_street_parking: Option<bool>
Place offers free street parking.
paid_street_parking: Option<bool>
Place offers paid street parking.
valet_parking: Option<bool>
Place offers valet parking.
free_garage_parking: Option<bool>
Place offers free garage parking.
paid_garage_parking: Option<bool>
Place offers paid garage parking.
Implementations§
source§impl ParkingOptions
impl ParkingOptions
sourcepub fn free_parking_lot(&self) -> bool
pub fn free_parking_lot(&self) -> bool
Returns the value of free_parking_lot
, or the default value if free_parking_lot
is unset.
sourcepub fn paid_parking_lot(&self) -> bool
pub fn paid_parking_lot(&self) -> bool
Returns the value of paid_parking_lot
, or the default value if paid_parking_lot
is unset.
sourcepub fn free_street_parking(&self) -> bool
pub fn free_street_parking(&self) -> bool
Returns the value of free_street_parking
, or the default value if free_street_parking
is unset.
sourcepub fn paid_street_parking(&self) -> bool
pub fn paid_street_parking(&self) -> bool
Returns the value of paid_street_parking
, or the default value if paid_street_parking
is unset.
sourcepub fn valet_parking(&self) -> bool
pub fn valet_parking(&self) -> bool
Returns the value of valet_parking
, or the default value if valet_parking
is unset.
sourcepub fn free_garage_parking(&self) -> bool
pub fn free_garage_parking(&self) -> bool
Returns the value of free_garage_parking
, or the default value if free_garage_parking
is unset.
sourcepub fn paid_garage_parking(&self) -> bool
pub fn paid_garage_parking(&self) -> bool
Returns the value of paid_garage_parking
, or the default value if paid_garage_parking
is unset.
Trait Implementations§
source§impl Clone for ParkingOptions
impl Clone for ParkingOptions
source§fn clone(&self) -> ParkingOptions
fn clone(&self) -> ParkingOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParkingOptions
impl Debug for ParkingOptions
source§impl Default for ParkingOptions
impl Default for ParkingOptions
source§impl Message for ParkingOptions
impl Message for ParkingOptions
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ParkingOptions
impl PartialEq for ParkingOptions
source§fn eq(&self, other: &ParkingOptions) -> bool
fn eq(&self, other: &ParkingOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for ParkingOptions
impl StructuralPartialEq for ParkingOptions
Auto Trait Implementations§
impl Freeze for ParkingOptions
impl RefUnwindSafe for ParkingOptions
impl Send for ParkingOptions
impl Sync for ParkingOptions
impl Unpin for ParkingOptions
impl UnwindSafe for ParkingOptions
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request