pub struct PlaceEditorialSummary {
pub language: Option<Language>,
pub overview: Option<String>,
}
Expand description
Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
Fields§
§language: Option<Language>
The language of the previous fields. May not always be present.
overview: Option<String>
A medium-length textual summary of the place.
Trait Implementations§
source§impl Clone for PlaceEditorialSummary
impl Clone for PlaceEditorialSummary
source§fn clone(&self) -> PlaceEditorialSummary
fn clone(&self) -> PlaceEditorialSummary
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 PlaceEditorialSummary
impl Debug for PlaceEditorialSummary
source§impl<'de> Deserialize<'de> for PlaceEditorialSummary
impl<'de> Deserialize<'de> for PlaceEditorialSummary
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for PlaceEditorialSummary
impl FromStr for PlaceEditorialSummary
source§impl Hash for PlaceEditorialSummary
impl Hash for PlaceEditorialSummary
source§impl Ord for PlaceEditorialSummary
impl Ord for PlaceEditorialSummary
source§fn cmp(&self, other: &PlaceEditorialSummary) -> Ordering
fn cmp(&self, other: &PlaceEditorialSummary) -> 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<PlaceEditorialSummary> for PlaceEditorialSummary
impl PartialEq<PlaceEditorialSummary> for PlaceEditorialSummary
source§fn eq(&self, other: &PlaceEditorialSummary) -> bool
fn eq(&self, other: &PlaceEditorialSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PlaceEditorialSummary> for PlaceEditorialSummary
impl PartialOrd<PlaceEditorialSummary> for PlaceEditorialSummary
source§fn partial_cmp(&self, other: &PlaceEditorialSummary) -> Option<Ordering>
fn partial_cmp(&self, other: &PlaceEditorialSummary) -> 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 PlaceEditorialSummary
impl Serialize for PlaceEditorialSummary
impl Eq for PlaceEditorialSummary
impl StructuralEq for PlaceEditorialSummary
impl StructuralPartialEq for PlaceEditorialSummary
Auto Trait Implementations§
impl RefUnwindSafe for PlaceEditorialSummary
impl Send for PlaceEditorialSummary
impl Sync for PlaceEditorialSummary
impl Unpin for PlaceEditorialSummary
impl UnwindSafe for PlaceEditorialSummary
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.