pub struct InlineQueryResultContact {
pub id: String,
pub contact: Contact,
pub thumbnail: Option<Thumbnail>,
}
Expand description
Represents a user contact
Fields§
§id: String
Unique identifier of the query result
contact: Contact
A user contact
thumbnail: Option<Thumbnail>
Result thumbnail in JPEG format; may be null
Trait Implementations§
Source§impl Clone for InlineQueryResultContact
impl Clone for InlineQueryResultContact
Source§fn clone(&self) -> InlineQueryResultContact
fn clone(&self) -> InlineQueryResultContact
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 InlineQueryResultContact
impl Debug for InlineQueryResultContact
Source§impl<'de> Deserialize<'de> for InlineQueryResultContact
impl<'de> Deserialize<'de> for InlineQueryResultContact
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
Source§impl PartialEq for InlineQueryResultContact
impl PartialEq for InlineQueryResultContact
Source§impl Serialize for InlineQueryResultContact
impl Serialize for InlineQueryResultContact
impl StructuralPartialEq for InlineQueryResultContact
Auto Trait Implementations§
impl Freeze for InlineQueryResultContact
impl RefUnwindSafe for InlineQueryResultContact
impl Send for InlineQueryResultContact
impl Sync for InlineQueryResultContact
impl Unpin for InlineQueryResultContact
impl UnwindSafe for InlineQueryResultContact
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