pub struct StopMessageLiveLocationBuilder { /* private fields */ }Expand description
Builder for the StopMessageLiveLocation structure
Implementations§
Source§impl StopMessageLiveLocationBuilder
impl StopMessageLiveLocationBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Instantiate the builder with the fields chat_id, message_id, inline_message_id, reply_markup
Sourcepub fn message_id(self, val: i64) -> Self
pub fn message_id(self, val: i64) -> Self
Set the field message_id to the given value
Sourcepub fn inline_message_id(self, val: String) -> Self
pub fn inline_message_id(self, val: String) -> Self
Set the field inline_message_id to the given value
Sourcepub fn reply_markup(self, val: ReplyMarkup) -> Self
pub fn reply_markup(self, val: ReplyMarkup) -> Self
Set the field reply_markup to the given value
Trait Implementations§
Source§impl Builder for StopMessageLiveLocationBuilder
impl Builder for StopMessageLiveLocationBuilder
Source§type Value = StopMessageLiveLocation
type Value = StopMessageLiveLocation
Type to be built
Auto Trait Implementations§
impl Freeze for StopMessageLiveLocationBuilder
impl RefUnwindSafe for StopMessageLiveLocationBuilder
impl Send for StopMessageLiveLocationBuilder
impl Sync for StopMessageLiveLocationBuilder
impl Unpin for StopMessageLiveLocationBuilder
impl UnwindSafe for StopMessageLiveLocationBuilder
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