Struct telegram_bot_raw_ars::types::message::Venue
source · pub struct Venue {
pub location: Location,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
}
Expand description
This object represents a venue.
Fields§
§location: Location
Venue location.
title: String
Name of the venue.
address: String
Address of the venue.
foursquare_id: Option<String>
Foursquare identifier of the venue.
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
source§impl PartialEq<Venue> for Venue
impl PartialEq<Venue> for Venue
source§impl PartialOrd<Venue> for Venue
impl PartialOrd<Venue> for Venue
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<'b> ToReplyRequest<'b> for Venue
impl<'b> ToReplyRequest<'b> for Venue
source§fn to_reply_request<M>(&'b self, message: M) -> Self::Requestwhere
M: ToMessageId + ToSourceChat,
fn to_reply_request<M>(&'b self, message: M) -> Self::Requestwhere
M: ToMessageId + ToSourceChat,
Convert type to request and reply to the message.