pub struct Venue {
pub location: Location,
pub title: String,
pub address: String,
pub provider: String,
pub id: String,
pub type: String,
}
Expand description
Describes a venue
Fields§
§location: Location
Venue location; as defined by the sender
title: String
Venue name; as defined by the sender
address: String
Venue address; as defined by the sender
provider: String
Provider of the venue database; as defined by the sender. Currently, only “foursquare” and “gplaces” (Google Places) need to be supported
id: String
Identifier of the venue in the provider database; as defined by the sender
type: String
Type of the venue in the provider database; as defined by the sender
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
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 StructuralPartialEq for Venue
Auto Trait Implementations§
impl Freeze for Venue
impl RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
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