pub struct StopMessageLiveLocationParams {
pub chat_id: Option<ChatId>,
pub message_id: Option<i32>,
pub inline_message_id: Option<String>,
pub reply_markup: Option<InlineKeyboardMarkup>,
}
Fields§
§chat_id: Option<ChatId>
§message_id: Option<i32>
§inline_message_id: Option<String>
§reply_markup: Option<InlineKeyboardMarkup>
Implementations§
source§impl StopMessageLiveLocationParams
impl StopMessageLiveLocationParams
sourcepub fn builder() -> StopMessageLiveLocationParamsBuilder<((), (), (), ())>
pub fn builder() -> StopMessageLiveLocationParamsBuilder<((), (), (), ())>
Create a builder for building StopMessageLiveLocationParams
.
On the builder, call .chat_id(...)
(optional), .message_id(...)
(optional), .inline_message_id(...)
(optional), .reply_markup(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of StopMessageLiveLocationParams
.
Trait Implementations§
source§impl Clone for StopMessageLiveLocationParams
impl Clone for StopMessageLiveLocationParams
source§fn clone(&self) -> StopMessageLiveLocationParams
fn clone(&self) -> StopMessageLiveLocationParams
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<'de> Deserialize<'de> for StopMessageLiveLocationParams
impl<'de> Deserialize<'de> for StopMessageLiveLocationParams
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 StopMessageLiveLocationParams
impl PartialEq for StopMessageLiveLocationParams
source§fn eq(&self, other: &StopMessageLiveLocationParams) -> bool
fn eq(&self, other: &StopMessageLiveLocationParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StopMessageLiveLocationParams
impl StructuralPartialEq for StopMessageLiveLocationParams
Auto Trait Implementations§
impl Freeze for StopMessageLiveLocationParams
impl RefUnwindSafe for StopMessageLiveLocationParams
impl Send for StopMessageLiveLocationParams
impl Sync for StopMessageLiveLocationParams
impl Unpin for StopMessageLiveLocationParams
impl UnwindSafe for StopMessageLiveLocationParams
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