Trait CanSendContact

Source
pub trait CanSendContact<'p, 'f, 'l> {
    // Required method
    fn contact<P, F>(
        &self,
        phone_number: P,
        first_name: F,
    ) -> SendContact<'p, 'f, 'l>
       where P: Into<Cow<'p, str>>,
             F: Into<Cow<'f, str>>;
}
Expand description

Send phone contact.

Required Methods§

Source

fn contact<P, F>( &self, phone_number: P, first_name: F, ) -> SendContact<'p, 'f, 'l>
where P: Into<Cow<'p, str>>, F: Into<Cow<'f, 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<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C
where C: ToChatRef,