pub struct InputLocationMessageContent {
    pub latitude: Float,
    pub longitude: Float,
    pub live_period: Option<Integer>,
}

Fields§

§latitude: Float

Latitude of the location in degrees

§longitude: Float

Longitude of the location in degrees

§live_period: Option<Integer>

Period in seconds for which the location can be updated, should be between 60 and 86400.

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.