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: LocationVenue location; as defined by the sender
title: StringVenue name; as defined by the sender
address: StringVenue address; as defined by the sender
provider: StringProvider of the venue database; as defined by the sender. Currently only “foursquare” needs to be supported
id: StringIdentifier of the venue in the provider database; as defined by the sender
type_: StringType 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
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