pub struct TGSendLocation {
pub chat_id: i64,
pub latitude: f64,
pub longitude: f64,
pub horizontal_accuracy: Option<f64>,
pub live_period: Option<i64>,
pub heading: Option<i64>,
pub proximity_alert_radius: Option<i64>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<String>,
pub disable_notification: Option<bool>,
pub message_thread_id: Option<i64>,
pub protect_content: Option<bool>,
}Fields§
§chat_id: i64§latitude: f64§longitude: f64§horizontal_accuracy: Option<f64>§live_period: Option<i64>§heading: Option<i64>§proximity_alert_radius: Option<i64>§reply_to_message_id: Option<i64>§reply_markup: Option<String>§disable_notification: Option<bool>§message_thread_id: Option<i64>§protect_content: Option<bool>Trait Implementations§
Source§impl Clone for TGSendLocation
impl Clone for TGSendLocation
Source§fn clone(&self) -> TGSendLocation
fn clone(&self) -> TGSendLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TGSendLocation
impl Debug for TGSendLocation
Source§impl Default for TGSendLocation
impl Default for TGSendLocation
Source§fn default() -> TGSendLocation
fn default() -> TGSendLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TGSendLocation
impl<'de> Deserialize<'de> for TGSendLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TGSendLocation
impl RefUnwindSafe for TGSendLocation
impl Send for TGSendLocation
impl Sync for TGSendLocation
impl Unpin for TGSendLocation
impl UnwindSafe for TGSendLocation
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