pub struct UpdateMessageLiveLocationViewed {
pub chat_id: i64,
pub message_id: i64,
}
Expand description
A message with a live location was viewed. When the update is received, the application is supposed to update the live location
Fields§
§chat_id: i64
Identifier of the chat with the live location message
message_id: i64
Identifier of the message with live location
Trait Implementations§
Source§impl Clone for UpdateMessageLiveLocationViewed
impl Clone for UpdateMessageLiveLocationViewed
Source§fn clone(&self) -> UpdateMessageLiveLocationViewed
fn clone(&self) -> UpdateMessageLiveLocationViewed
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 Default for UpdateMessageLiveLocationViewed
impl Default for UpdateMessageLiveLocationViewed
Source§fn default() -> UpdateMessageLiveLocationViewed
fn default() -> UpdateMessageLiveLocationViewed
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateMessageLiveLocationViewed
impl<'de> Deserialize<'de> for UpdateMessageLiveLocationViewed
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
Source§impl PartialEq for UpdateMessageLiveLocationViewed
impl PartialEq for UpdateMessageLiveLocationViewed
Source§fn eq(&self, other: &UpdateMessageLiveLocationViewed) -> bool
fn eq(&self, other: &UpdateMessageLiveLocationViewed) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateMessageLiveLocationViewed
Auto Trait Implementations§
impl Freeze for UpdateMessageLiveLocationViewed
impl RefUnwindSafe for UpdateMessageLiveLocationViewed
impl Send for UpdateMessageLiveLocationViewed
impl Sync for UpdateMessageLiveLocationViewed
impl Unpin for UpdateMessageLiveLocationViewed
impl UnwindSafe for UpdateMessageLiveLocationViewed
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