pub struct SendMessageLocationBody {Show 14 fields
pub chat_id: BodyChatId,
pub latitude: f64,
pub longitude: f64,
pub horizontal_accuracy: Option<f64>,
pub live_period: Option<LivePeriod>,
pub heading: Option<u16>,
pub proximity_alert_radius: Option<u32>,
pub message_thread_id: Option<i64>,
pub disable_notification: Option<bool>,
pub protect_content: Option<bool>,
pub message_effect_id: Option<EffectId>,
pub reply_markup: Option<ReplyMarkup>,
pub reply_parameters: Option<ReplyParameters>,
pub business_connection_id: Option<BusinessConnectionId>,
}Fields§
§chat_id: BodyChatId§latitude: f64§longitude: f64§horizontal_accuracy: Option<f64>§live_period: Option<LivePeriod>§heading: Option<u16>§proximity_alert_radius: Option<u32>§message_thread_id: Option<i64>§disable_notification: Option<bool>§protect_content: Option<bool>§message_effect_id: Option<EffectId>§reply_markup: Option<ReplyMarkup>§reply_parameters: Option<ReplyParameters>§business_connection_id: Option<BusinessConnectionId>Trait Implementations§
Source§impl Clone for SendMessageLocationBody
impl Clone for SendMessageLocationBody
Source§fn clone(&self) -> SendMessageLocationBody
fn clone(&self) -> SendMessageLocationBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SendMessageLocationBody
impl Debug for SendMessageLocationBody
Source§impl<'de> Deserialize<'de> for SendMessageLocationBody
impl<'de> Deserialize<'de> for SendMessageLocationBody
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 SendMessageLocationBody
impl RefUnwindSafe for SendMessageLocationBody
impl Send for SendMessageLocationBody
impl Sync for SendMessageLocationBody
impl Unpin for SendMessageLocationBody
impl UnsafeUnpin for SendMessageLocationBody
impl UnwindSafe for SendMessageLocationBody
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Erasable for T
impl<T> Erasable for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more