pub struct StopMessageLiveLocation { /* private fields */ }
Expand description
Use this method to stop updating a live location message sent by the bot before live_period expires.
Implementations
sourceimpl StopMessageLiveLocation
impl StopMessageLiveLocation
pub fn new<C, M>(chat: C, message_id: M) -> Selfwhere
C: ToChatRef,
M: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut Selfwhere
R: Into<ReplyMarkup>,
Trait Implementations
sourceimpl Clone for StopMessageLiveLocation
impl Clone for StopMessageLiveLocation
sourcefn clone(&self) -> StopMessageLiveLocation
fn clone(&self) -> StopMessageLiveLocation
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 StopMessageLiveLocation
impl Debug for StopMessageLiveLocation
sourceimpl PartialEq<StopMessageLiveLocation> for StopMessageLiveLocation
impl PartialEq<StopMessageLiveLocation> for StopMessageLiveLocation
sourcefn eq(&self, other: &StopMessageLiveLocation) -> bool
fn eq(&self, other: &StopMessageLiveLocation) -> bool
sourceimpl PartialOrd<StopMessageLiveLocation> for StopMessageLiveLocation
impl PartialOrd<StopMessageLiveLocation> for StopMessageLiveLocation
sourcefn partial_cmp(&self, other: &StopMessageLiveLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &StopMessageLiveLocation) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Request for StopMessageLiveLocation
impl Request for StopMessageLiveLocation
type Type = JsonRequestType<StopMessageLiveLocation>
type Response = JsonIdResponse<Message>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
sourceimpl Serialize for StopMessageLiveLocation
impl Serialize for StopMessageLiveLocation
impl StructuralPartialEq for StopMessageLiveLocation
Auto Trait Implementations
impl RefUnwindSafe for StopMessageLiveLocation
impl Send for StopMessageLiveLocation
impl Sync for StopMessageLiveLocation
impl Unpin for StopMessageLiveLocation
impl UnwindSafe for StopMessageLiveLocation
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