Struct telegram_bot2::models::SendContact
source · pub struct SendContact { /* private fields */ }Expand description
Use this method to send phone contacts. On success, the sent Message is returned.
Trait Implementations§
source§impl Clone for SendContact
impl Clone for SendContact
source§fn clone(&self) -> SendContact
fn clone(&self) -> SendContact
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SendContact
impl Debug for SendContact
source§impl<'de> Deserialize<'de> for SendContact
impl<'de> Deserialize<'de> for SendContact
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more