pub struct StopMessageLiveLocationParamsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> StopMessageLiveLocationParamsBuilder<S>
impl<S: State> StopMessageLiveLocationParamsBuilder<S>
Sourcepub fn build(self) -> StopMessageLiveLocationParamswhere
S: IsComplete,
pub fn build(self) -> StopMessageLiveLocationParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn business_connection_id(
self,
value: impl Into<String>,
) -> StopMessageLiveLocationParamsBuilder<SetBusinessConnectionId<S>>where
S::BusinessConnectionId: IsUnset,
pub fn business_connection_id(
self,
value: impl Into<String>,
) -> StopMessageLiveLocationParamsBuilder<SetBusinessConnectionId<S>>where
S::BusinessConnectionId: IsUnset,
Sourcepub fn maybe_business_connection_id(
self,
value: Option<impl Into<String>>,
) -> StopMessageLiveLocationParamsBuilder<SetBusinessConnectionId<S>>where
S::BusinessConnectionId: IsUnset,
pub fn maybe_business_connection_id(
self,
value: Option<impl Into<String>>,
) -> StopMessageLiveLocationParamsBuilder<SetBusinessConnectionId<S>>where
S::BusinessConnectionId: IsUnset,
Sourcepub fn chat_id(
self,
value: impl Into<ChatId>,
) -> StopMessageLiveLocationParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
pub fn chat_id(
self,
value: impl Into<ChatId>,
) -> StopMessageLiveLocationParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
Sourcepub fn maybe_chat_id(
self,
value: Option<impl Into<ChatId>>,
) -> StopMessageLiveLocationParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
pub fn maybe_chat_id(
self,
value: Option<impl Into<ChatId>>,
) -> StopMessageLiveLocationParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
Sourcepub fn message_id(
self,
value: i32,
) -> StopMessageLiveLocationParamsBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn message_id(
self,
value: i32,
) -> StopMessageLiveLocationParamsBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn maybe_message_id(
self,
value: Option<i32>,
) -> StopMessageLiveLocationParamsBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn maybe_message_id(
self,
value: Option<i32>,
) -> StopMessageLiveLocationParamsBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn inline_message_id(
self,
value: impl Into<String>,
) -> StopMessageLiveLocationParamsBuilder<SetInlineMessageId<S>>where
S::InlineMessageId: IsUnset,
pub fn inline_message_id(
self,
value: impl Into<String>,
) -> StopMessageLiveLocationParamsBuilder<SetInlineMessageId<S>>where
S::InlineMessageId: IsUnset,
Sourcepub fn maybe_inline_message_id(
self,
value: Option<impl Into<String>>,
) -> StopMessageLiveLocationParamsBuilder<SetInlineMessageId<S>>where
S::InlineMessageId: IsUnset,
pub fn maybe_inline_message_id(
self,
value: Option<impl Into<String>>,
) -> StopMessageLiveLocationParamsBuilder<SetInlineMessageId<S>>where
S::InlineMessageId: IsUnset,
Sourcepub fn reply_markup(
self,
value: InlineKeyboardMarkup,
) -> StopMessageLiveLocationParamsBuilder<SetReplyMarkup<S>>where
S::ReplyMarkup: IsUnset,
pub fn reply_markup(
self,
value: InlineKeyboardMarkup,
) -> StopMessageLiveLocationParamsBuilder<SetReplyMarkup<S>>where
S::ReplyMarkup: IsUnset,
Sourcepub fn maybe_reply_markup(
self,
value: Option<InlineKeyboardMarkup>,
) -> StopMessageLiveLocationParamsBuilder<SetReplyMarkup<S>>where
S::ReplyMarkup: IsUnset,
pub fn maybe_reply_markup(
self,
value: Option<InlineKeyboardMarkup>,
) -> StopMessageLiveLocationParamsBuilder<SetReplyMarkup<S>>where
S::ReplyMarkup: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for StopMessageLiveLocationParamsBuilder<S>
impl<S> RefUnwindSafe for StopMessageLiveLocationParamsBuilder<S>
impl<S> Send for StopMessageLiveLocationParamsBuilder<S>
impl<S> Sync for StopMessageLiveLocationParamsBuilder<S>
impl<S> Unpin for StopMessageLiveLocationParamsBuilder<S>
impl<S> UnsafeUnpin for StopMessageLiveLocationParamsBuilder<S>
impl<S> UnwindSafe for StopMessageLiveLocationParamsBuilder<S>
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