pub struct EditInlineMessageLiveLocation { /* private fields */ }
Expand description
Edits the content of a live location in an inline message sent via a bot; for bots only
Implementations§
Source§impl EditInlineMessageLiveLocation
impl EditInlineMessageLiveLocation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> EditInlineMessageLiveLocationBuilder
pub fn inline_message_id(&self) -> &String
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<EditInlineMessageLiveLocation> for EditInlineMessageLiveLocation
impl AsRef<EditInlineMessageLiveLocation> for EditInlineMessageLiveLocation
Source§fn as_ref(&self) -> &EditInlineMessageLiveLocation
fn as_ref(&self) -> &EditInlineMessageLiveLocation
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for EditInlineMessageLiveLocation
impl Clone for EditInlineMessageLiveLocation
Source§fn clone(&self) -> EditInlineMessageLiveLocation
fn clone(&self) -> EditInlineMessageLiveLocation
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 Default for EditInlineMessageLiveLocation
impl Default for EditInlineMessageLiveLocation
Source§fn default() -> EditInlineMessageLiveLocation
fn default() -> EditInlineMessageLiveLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditInlineMessageLiveLocation
impl<'de> Deserialize<'de> for EditInlineMessageLiveLocation
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 EditInlineMessageLiveLocation
impl RefUnwindSafe for EditInlineMessageLiveLocation
impl Send for EditInlineMessageLiveLocation
impl Sync for EditInlineMessageLiveLocation
impl Unpin for EditInlineMessageLiveLocation
impl UnwindSafe for EditInlineMessageLiveLocation
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