Struct rust_tdlib::types::InputInlineQueryResultContact
source · [−]pub struct InputInlineQueryResultContact { /* private fields */ }Expand description
Represents a user contact
Implementations
sourceimpl InputInlineQueryResultContact
impl InputInlineQueryResultContact
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputInlineQueryResultContactBuilder
pub fn id(&self) -> &String
pub fn contact(&self) -> &Contact
pub fn thumbnail_url(&self) -> &String
pub fn thumbnail_width(&self) -> i32
pub fn thumbnail_height(&self) -> i32
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations
sourceimpl AsRef<InputInlineQueryResultContact> for InputInlineQueryResultContact
impl AsRef<InputInlineQueryResultContact> for InputInlineQueryResultContact
sourcefn as_ref(&self) -> &InputInlineQueryResultContact
fn as_ref(&self) -> &InputInlineQueryResultContact
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputInlineQueryResultContact
impl Clone for InputInlineQueryResultContact
sourcefn clone(&self) -> InputInlineQueryResultContact
fn clone(&self) -> InputInlineQueryResultContact
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InputInlineQueryResultContact
impl Debug for InputInlineQueryResultContact
sourceimpl Default for InputInlineQueryResultContact
impl Default for InputInlineQueryResultContact
sourcefn default() -> InputInlineQueryResultContact
fn default() -> InputInlineQueryResultContact
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResultContact
impl<'de> Deserialize<'de> for InputInlineQueryResultContact
sourcefn 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
impl TDInputInlineQueryResult for InputInlineQueryResultContact
Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResultContact
impl Send for InputInlineQueryResultContact
impl Sync for InputInlineQueryResultContact
impl Unpin for InputInlineQueryResultContact
impl UnwindSafe for InputInlineQueryResultContact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more