Struct rust_tdlib::types::EditInlineMessageLiveLocation
source · [−]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
sourceimpl 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
sourceimpl AsRef<EditInlineMessageLiveLocation> for EditInlineMessageLiveLocation
impl AsRef<EditInlineMessageLiveLocation> for EditInlineMessageLiveLocation
sourcefn as_ref(&self) -> &EditInlineMessageLiveLocation
fn as_ref(&self) -> &EditInlineMessageLiveLocation
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for EditInlineMessageLiveLocation
impl Clone for EditInlineMessageLiveLocation
sourcefn clone(&self) -> EditInlineMessageLiveLocation
fn clone(&self) -> EditInlineMessageLiveLocation
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 more
sourceimpl Debug for EditInlineMessageLiveLocation
impl Debug for EditInlineMessageLiveLocation
sourceimpl Default for EditInlineMessageLiveLocation
impl Default for EditInlineMessageLiveLocation
sourcefn default() -> EditInlineMessageLiveLocation
fn default() -> EditInlineMessageLiveLocation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EditInlineMessageLiveLocation
impl<'de> Deserialize<'de> for EditInlineMessageLiveLocation
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
Auto Trait Implementations
impl RefUnwindSafe for EditInlineMessageLiveLocation
impl Send for EditInlineMessageLiveLocation
impl Sync for EditInlineMessageLiveLocation
impl Unpin for EditInlineMessageLiveLocation
impl UnwindSafe for EditInlineMessageLiveLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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