Trait CanReplySendContact

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

Reply with phone contact.

Required Methods§

Source

fn contact_reply<'p, 'f, 'l, P, F>( &self, phone_number: P, first_name: F, ) -> SendContact<'p, 'f, 'l>
where P: Into<Cow<'p, str>> + 'p, F: Into<Cow<'f, str>> + 'f,

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§