Trait CanSendVenue

Source
pub trait CanSendVenue<'t, 'a, 'f> {
    // Required method
    fn venue<T, A>(
        &self,
        latitude: Float,
        longitude: Float,
        title: T,
        address: A,
    ) -> SendVenue<'t, 'a, 'f>
       where T: Into<Cow<'t, str>>,
             A: Into<Cow<'a, str>>;
}
Expand description

Send information about a venue.

Required Methods§

Source

fn venue<T, A>( &self, latitude: Float, longitude: Float, title: T, address: A, ) -> SendVenue<'t, 'a, 'f>
where T: Into<Cow<'t, str>>, A: Into<Cow<'a, str>>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'t, 'a, 'f, C> CanSendVenue<'t, 'a, 'f> for C
where C: ToChatRef,