pub struct InputContactMessageContent {
pub phone_number: String,
pub first_name: String,
pub last_name: Option<String>,
pub vcard: Option<String>,
}Fields§
§phone_number: StringContact’s phone number
first_name: StringContact’s first name
last_name: Option<String>Contact’s last name Additional data about the contact in the form of a vCard, 0-2048 bytes
vcard: Option<String>Trait Implementations§
Source§impl Debug for InputContactMessageContent
impl Debug for InputContactMessageContent
Source§impl From<InputContactMessageContent> for InputMessageContent
impl From<InputContactMessageContent> for InputMessageContent
Source§fn from(value: InputContactMessageContent) -> InputMessageContent
fn from(value: InputContactMessageContent) -> InputMessageContent
Converts to this type from the input type.
Source§impl Serialize for InputContactMessageContent
impl Serialize for InputContactMessageContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 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