pub struct SendVenue<'t, 'a, 'f> { /* private fields */ }Expand description
Use this method to send information about a venue.
Implementations§
Source§impl<'t, 'a, 'f> SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> SendVenue<'t, 'a, 'f>
pub fn new<C, T, A>( chat: C, latitude: Float, longitude: Float, title: T, address: A, ) -> Self
pub fn disable_notification(self) -> Self
pub fn foursquare_id<F>(self, id: F) -> Self
pub fn reply_to<R>(self, to: R) -> Selfwhere
R: ToMessageId,
pub fn reply_markup<R>(self, reply_markup: R) -> Selfwhere
R: Into<ReplyMarkup>,
Trait Implementations§
Source§impl<'t, 'a, 'f> PartialOrd for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> PartialOrd for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> StructuralPartialEq for SendVenue<'t, 'a, 'f>
Auto Trait Implementations§
impl<'t, 'a, 'f> Freeze for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> RefUnwindSafe for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> Send for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> Sync for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> Unpin for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> UnwindSafe for SendVenue<'t, 'a, 'f>
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