pub struct GeoLive {
pub geo: Option<Geo>,
pub raw_geolive: MessageMediaGeoLive,
}Fields§
§geo: Option<Geo>§raw_geolive: MessageMediaGeoLiveImplementations§
Source§impl GeoLive
impl GeoLive
pub fn from_raw_media(geolive: MessageMediaGeoLive) -> Self
pub fn to_raw_input_media(&self) -> InputMediaGeoLive
Sourcepub fn proximity_notification_radius(&self) -> Option<i32>
pub fn proximity_notification_radius(&self) -> Option<i32>
Get the radius of the proximity alert.
Trait Implementations§
impl StructuralPartialEq for GeoLive
Auto Trait Implementations§
impl Freeze for GeoLive
impl RefUnwindSafe for GeoLive
impl Send for GeoLive
impl Sync for GeoLive
impl Unpin for GeoLive
impl UnwindSafe for GeoLive
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