Struct tg_bot_models::InputVenueMessageContent [] [src]

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

Represents the content of a venue message to be sent as the result of an inline query.

Fields

Latitude of the venue in degrees

Longitude of the venue in degrees

Name of the venue

Address of the venue

Optional. Foursquare identifier of the venue, if known

Trait Implementations

impl Debug for InputVenueMessageContent
[src]

Formats the value using the given formatter.

impl Clone for InputVenueMessageContent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InputVenueMessageContent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for InputVenueMessageContent
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more