Struct telegram_bot_fork_raw::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
sourceimpl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
sourcefn 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
sourceimpl PartialOrd<Venue> for Venue
impl PartialOrd<Venue> for Venue
sourcefn partial_cmp(&self, other: &Venue) -> Option<Ordering>
fn partial_cmp(&self, other: &Venue) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl<'b> ToReplyRequest<'b> for Venue
impl<'b> ToReplyRequest<'b> for Venue
sourcefn 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.
impl StructuralPartialEq for Venue
Auto Trait Implementations
impl RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more