pub struct InputContactMessageContent {
pub phone_number: String,
pub first_name: String,
pub last_name: Option<String>,
pub vcard: Option<String>,
}Expand description
Contact content for an inline query result.
Fields§
§phone_number: StringContact phone number.
first_name: StringContact first name.
last_name: Option<String>Contact last name.
vcard: Option<String>Contact vCard (0–2048 bytes).
Trait Implementations§
Source§impl Clone for InputContactMessageContent
impl Clone for InputContactMessageContent
Source§fn clone(&self) -> InputContactMessageContent
fn clone(&self) -> InputContactMessageContent
Returns a duplicate 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 InputContactMessageContent
impl Debug for InputContactMessageContent
Source§impl<'de> Deserialize<'de> for InputContactMessageContent
impl<'de> Deserialize<'de> for InputContactMessageContent
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
Auto Trait Implementations§
impl Freeze for InputContactMessageContent
impl RefUnwindSafe for InputContactMessageContent
impl Send for InputContactMessageContent
impl Sync for InputContactMessageContent
impl Unpin for InputContactMessageContent
impl UnsafeUnpin for InputContactMessageContent
impl UnwindSafe for InputContactMessageContent
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