pub struct MessageLocation {
pub location: Location,
pub live_period: i32,
pub expires_in: i32,
}Expand description
A message with a location
Fields§
§location: LocationMessage content
live_period: i32Time relative to the message sent date until which the location can be updated, in seconds
expires_in: i32Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes
Trait Implementations§
Source§impl Clone for MessageLocation
impl Clone for MessageLocation
Source§fn clone(&self) -> MessageLocation
fn clone(&self) -> MessageLocation
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 MessageLocation
impl Debug for MessageLocation
Source§impl<'de> Deserialize<'de> for MessageLocation
impl<'de> Deserialize<'de> for MessageLocation
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 MessageLocation
impl RefUnwindSafe for MessageLocation
impl Send for MessageLocation
impl Sync for MessageLocation
impl Unpin for MessageLocation
impl UnwindSafe for MessageLocation
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