pub struct InlineQueryResultPhoto {
pub id: String,
pub photo: Photo,
pub title: String,
pub description: String,
}
Expand description
Represents a photo
Fields§
§id: String
Unique identifier of the query result
photo: Photo
Photo
title: String
Title of the result, if known
description: String
A short description of the result, if known
Trait Implementations§
Source§impl Clone for InlineQueryResultPhoto
impl Clone for InlineQueryResultPhoto
Source§fn clone(&self) -> InlineQueryResultPhoto
fn clone(&self) -> InlineQueryResultPhoto
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 InlineQueryResultPhoto
impl Debug for InlineQueryResultPhoto
Source§impl Default for InlineQueryResultPhoto
impl Default for InlineQueryResultPhoto
Source§fn default() -> InlineQueryResultPhoto
fn default() -> InlineQueryResultPhoto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineQueryResultPhoto
impl<'de> Deserialize<'de> for InlineQueryResultPhoto
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 InlineQueryResultPhoto
impl PartialEq for InlineQueryResultPhoto
Source§impl Serialize for InlineQueryResultPhoto
impl Serialize for InlineQueryResultPhoto
impl StructuralPartialEq for InlineQueryResultPhoto
Auto Trait Implementations§
impl Freeze for InlineQueryResultPhoto
impl RefUnwindSafe for InlineQueryResultPhoto
impl Send for InlineQueryResultPhoto
impl Sync for InlineQueryResultPhoto
impl Unpin for InlineQueryResultPhoto
impl UnwindSafe for InlineQueryResultPhoto
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