mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-10 12:02:22 +01:00
12 lines
301 B
Rust
12 lines
301 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
|
||
|
/// This object represents a point on the map.
|
||
|
#[derive(Copy, Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||
|
pub struct Location {
|
||
|
/// Longitude as defined by sender.
|
||
|
pub longitude: f64,
|
||
|
|
||
|
/// Latitude as defined by sender.
|
||
|
pub latitude: f64,
|
||
|
}
|