Struct telegram_bot::types::Location[][src]

pub struct Location {
    pub longitude: Float,
    pub latitude: Float,
}

Telegram type "Location" (directly mapped)

Fields

Trait Implementations

impl Decodable for Location
[src]

Deserialize a value using a Decoder.

impl Encodable for Location
[src]

Serialize a value using an Encoder.

impl Debug for Location
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Location
[src]

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

This method tests for !=.

impl Clone for Location
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Location
[src]

Auto Trait Implementations

impl Send for Location

impl Sync for Location