Struct tdlib_types::types::MessageLocation
source · Expand description
A message with a location
Fields
location: Location
Message content
live_period: i32
Time relative to the message sent date until which the location can be updated, in seconds
expires_in: i32
Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes
Trait Implementations
sourceimpl Clone for MessageLocation
impl Clone for MessageLocation
sourcefn clone(&self) -> MessageLocation
fn clone(&self) -> MessageLocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageLocation
impl Debug for MessageLocation
sourceimpl<'de> Deserialize<'de> for MessageLocation
impl<'de> Deserialize<'de> for MessageLocation
sourcefn 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
sourceimpl Serialize for MessageLocation
impl Serialize for MessageLocation
Auto Trait Implementations
impl RefUnwindSafe for MessageLocation
impl Send for MessageLocation
impl Sync for MessageLocation
impl Unpin for MessageLocation
impl UnwindSafe for MessageLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more