Struct telegram_api_rs::objects::Location
source · pub struct Location {
pub longitude: f64,
pub latitude: f64,
pub horizontal_accuracy: Option<f64>,
pub live_period: Option<i32>,
pub heading: Option<i32>,
pub proximity_alert_radius: Option<i32>,
}
Fields§
§longitude: f64
§latitude: f64
§horizontal_accuracy: Option<f64>
§live_period: Option<i32>
§heading: Option<i32>
§proximity_alert_radius: Option<i32>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more