Struct rust_tdlib::types::InputInlineQueryResultPhoto
source · [−]pub struct InputInlineQueryResultPhoto { /* private fields */ }
Expand description
Represents link to a JPEG image
Implementations
sourceimpl InputInlineQueryResultPhoto
impl InputInlineQueryResultPhoto
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputInlineQueryResultPhotoBuilder
pub fn id(&self) -> &String
pub fn title(&self) -> &String
pub fn description(&self) -> &String
pub fn thumbnail_url(&self) -> &String
pub fn photo_url(&self) -> &String
pub fn photo_width(&self) -> i32
pub fn photo_height(&self) -> i32
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations
sourceimpl AsRef<InputInlineQueryResultPhoto> for InputInlineQueryResultPhoto
impl AsRef<InputInlineQueryResultPhoto> for InputInlineQueryResultPhoto
sourcefn as_ref(&self) -> &InputInlineQueryResultPhoto
fn as_ref(&self) -> &InputInlineQueryResultPhoto
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputInlineQueryResultPhoto
impl Clone for InputInlineQueryResultPhoto
sourcefn clone(&self) -> InputInlineQueryResultPhoto
fn clone(&self) -> InputInlineQueryResultPhoto
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 InputInlineQueryResultPhoto
impl Debug for InputInlineQueryResultPhoto
sourceimpl Default for InputInlineQueryResultPhoto
impl Default for InputInlineQueryResultPhoto
sourcefn default() -> InputInlineQueryResultPhoto
fn default() -> InputInlineQueryResultPhoto
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResultPhoto
impl<'de> Deserialize<'de> for InputInlineQueryResultPhoto
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 InputInlineQueryResultPhoto
Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResultPhoto
impl Send for InputInlineQueryResultPhoto
impl Sync for InputInlineQueryResultPhoto
impl Unpin for InputInlineQueryResultPhoto
impl UnwindSafe for InputInlineQueryResultPhoto
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