pub struct EditMessageLiveLocation { /* private fields */ }
Expand description
Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side
Implementations§
Source§impl EditMessageLiveLocation
impl EditMessageLiveLocation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> EditMessageLiveLocationBuilder
pub fn chat_id(&self) -> i64
pub fn message_id(&self) -> i64
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn location(&self) -> &Location
pub fn heading(&self) -> i32
pub fn proximity_alert_radius(&self) -> i32
Trait Implementations§
Source§impl AsRef<EditMessageLiveLocation> for EditMessageLiveLocation
impl AsRef<EditMessageLiveLocation> for EditMessageLiveLocation
Source§fn as_ref(&self) -> &EditMessageLiveLocation
fn as_ref(&self) -> &EditMessageLiveLocation
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for EditMessageLiveLocation
impl Clone for EditMessageLiveLocation
Source§fn clone(&self) -> EditMessageLiveLocation
fn clone(&self) -> EditMessageLiveLocation
Returns a copy 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 EditMessageLiveLocation
impl Debug for EditMessageLiveLocation
Source§impl Default for EditMessageLiveLocation
impl Default for EditMessageLiveLocation
Source§fn default() -> EditMessageLiveLocation
fn default() -> EditMessageLiveLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditMessageLiveLocation
impl<'de> Deserialize<'de> for EditMessageLiveLocation
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 EditMessageLiveLocation
impl RefUnwindSafe for EditMessageLiveLocation
impl Send for EditMessageLiveLocation
impl Sync for EditMessageLiveLocation
impl Unpin for EditMessageLiveLocation
impl UnwindSafe for EditMessageLiveLocation
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