[][src]Struct telegram_bot::types::inline_query_result::InputVenueMessageContent

pub struct InputVenueMessageContent {
    pub latitude: f32,
    pub longitude: f32,
    pub title: String,
    pub address: String,
    pub foursquare_id: Option<String>,
    pub foursquare_type: Option<String>,
}

Fields

latitude: f32

Latitude of the venue in degrees

longitude: f32

Longitude of the venue in degrees

title: String

Name of the venue

address: String

Address of the venue

foursquare_id: Option<String>

Foursquare identifier of the venue, if known

foursquare_type: Option<String>

Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

Trait Implementations

impl Debug for InputVenueMessageContent[src]

impl From<InputVenueMessageContent> for InputMessageContent[src]

impl Serialize for InputVenueMessageContent[src]

Auto Trait Implementations

impl RefUnwindSafe for InputVenueMessageContent[src]

impl Send for InputVenueMessageContent[src]

impl Sync for InputVenueMessageContent[src]

impl Unpin for InputVenueMessageContent[src]

impl UnwindSafe for InputVenueMessageContent[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]