Struct telexide::api::types::EditMessageLiveLocation [−][src]
pub struct EditMessageLiveLocation { pub chat_id: Option<i64>, pub message_id: Option<i64>, pub inline_message_id: Option<String>, pub reply_markup: Option<InlineKeyboardMarkup>, pub latitude: f64, pub longitude: f64, pub horizontal_accuracy: Option<f64>, pub heading: Option<i64>, pub proximity_alert_radius: Option<i64>, }
struct for holding data needed to call
edit_message_live_location
Fields
chat_id: Option<i64>
Unique identifier for the target chat
message_id: Option<i64>
Identifier of the message to edit
inline_message_id: Option<String>
Identifier of the inline message
reply_markup: Option<InlineKeyboardMarkup>
Inline keyboard
latitude: f64
Latitude of the location
longitude: f64
Longitude of the location
horizontal_accuracy: Option<f64>
The radius of uncertainty for the location, measured in meters; 0-1500
heading: Option<i64>
Direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
proximity_alert_radius: Option<i64>
Maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Trait Implementations
impl Clone for EditMessageLiveLocation
[src]
impl Clone for EditMessageLiveLocation
[src]fn clone(&self) -> EditMessageLiveLocation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for EditMessageLiveLocation
[src]
impl<'de> Deserialize<'de> for EditMessageLiveLocation
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<EditMessageLiveLocation> for EditMessageLiveLocation
[src]
impl PartialEq<EditMessageLiveLocation> for EditMessageLiveLocation
[src]fn eq(&self, other: &EditMessageLiveLocation) -> bool
[src]
fn ne(&self, other: &EditMessageLiveLocation) -> bool
[src]
impl Serialize for EditMessageLiveLocation
[src]
impl Serialize for EditMessageLiveLocation
[src]Auto Trait Implementations
impl RefUnwindSafe for EditMessageLiveLocation
impl RefUnwindSafe for EditMessageLiveLocation
impl Send for EditMessageLiveLocation
impl Send for EditMessageLiveLocation
impl Sync for EditMessageLiveLocation
impl Sync for EditMessageLiveLocation
impl Unpin for EditMessageLiveLocation
impl Unpin for EditMessageLiveLocation
impl UnwindSafe for EditMessageLiveLocation
impl UnwindSafe for EditMessageLiveLocation
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,