[][src]Struct telegram_bot::types::inline_query_result::InputLocationMessageContent

pub struct InputLocationMessageContent {
    pub latitude: f32,
    pub longitude: f32,
    pub live_period: Option<i64>,
}

Fields

latitude: f32

Latitude of the location in degrees

longitude: f32

Longitude 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

impl Debug for InputLocationMessageContent[src]

impl From<InputLocationMessageContent> for InputMessageContent[src]

impl Serialize for InputLocationMessageContent[src]

Auto Trait Implementations

impl RefUnwindSafe for InputLocationMessageContent[src]

impl Send for InputLocationMessageContent[src]

impl Sync for InputLocationMessageContent[src]

impl Unpin for InputLocationMessageContent[src]

impl UnwindSafe for InputLocationMessageContent[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]