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