use serde::{Deserialize, Serialize};
use crate::types::Location;
/// This object represents a venue.
#[serde_with_macros::skip_serializing_none]
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct Venue {
/// Venue location.
pub location: Location,
/// Name of the venue.
pub title: String,
/// Address of the venue.
pub address: String,
/// Foursquare identifier of the venue.
pub foursquare_id: Option<String>,
/// Foursquare type of the venue. (For example,
/// `arts_entertainment/default`, `arts_entertainment/aquarium` or
/// `food/icecream`.)
pub foursquare_type: Option<String>,
/// Google Places identifier of the venue.
pub google_place_id: Option<String>,
/// Google Places type of the venue. (See [supported types].)
///
/// [supported types]: https://developers.google.com/places/web-service/supported_types
pub google_place_type: Option<String>,
}