pub struct GoogleMapsPlacesV1ContentBlock {
pub content: Option<GoogleTypeLocalizedText>,
pub referenced_places: Option<Vec<String>>,
}Expand description
A block of content that can be served individually.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<GoogleTypeLocalizedText>Content related to the topic.
referenced_places: Option<Vec<String>>The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names.
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1ContentBlock
impl Clone for GoogleMapsPlacesV1ContentBlock
Source§fn clone(&self) -> GoogleMapsPlacesV1ContentBlock
fn clone(&self) -> GoogleMapsPlacesV1ContentBlock
Returns a duplicate 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 Default for GoogleMapsPlacesV1ContentBlock
impl Default for GoogleMapsPlacesV1ContentBlock
Source§fn default() -> GoogleMapsPlacesV1ContentBlock
fn default() -> GoogleMapsPlacesV1ContentBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1ContentBlock
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1ContentBlock
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
impl Part for GoogleMapsPlacesV1ContentBlock
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1ContentBlock
impl RefUnwindSafe for GoogleMapsPlacesV1ContentBlock
impl Send for GoogleMapsPlacesV1ContentBlock
impl Sync for GoogleMapsPlacesV1ContentBlock
impl Unpin for GoogleMapsPlacesV1ContentBlock
impl UnwindSafe for GoogleMapsPlacesV1ContentBlock
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