pub struct InputLocationMessageContent {
pub latitude: f32,
pub longitude: f32,
pub live_period: Option<i64>,
}Fields§
§latitude: f32Latitude of the location in degrees
longitude: f32Longitude of the location in degrees
live_period: Option<i64>Period in seconds for which the location can be updated, should be between 60 and 86400.
Trait Implementations§
Source§impl Debug for InputLocationMessageContent
impl Debug for InputLocationMessageContent
Source§impl From<InputLocationMessageContent> for InputMessageContent
impl From<InputLocationMessageContent> for InputMessageContent
Source§fn from(value: InputLocationMessageContent) -> InputMessageContent
fn from(value: InputLocationMessageContent) -> InputMessageContent
Converts to this type from the input type.
Source§impl Serialize for InputLocationMessageContent
impl Serialize for InputLocationMessageContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for InputLocationMessageContent
impl RefUnwindSafe for InputLocationMessageContent
impl Send for InputLocationMessageContent
impl Sync for InputLocationMessageContent
impl Unpin for InputLocationMessageContent
impl UnwindSafe for InputLocationMessageContent
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