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: f32, longitude: f32, title: T, address: A, ) -> SendVenue<'t, 'a, 'f>
pub fn disable_notification(&mut self) -> &mut SendVenue<'t, 'a, 'f>
pub fn foursquare_id<F>(&mut self, id: F) -> &mut SendVenue<'t, 'a, 'f>
pub fn reply_to<R>(&mut self, to: R) -> &mut SendVenue<'t, 'a, 'f>where
R: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut SendVenue<'t, 'a, 'f>where
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>
Source§impl<'t, 'a, 'f> Serialize for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> Serialize for SendVenue<'t, 'a, 'f>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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