pub struct InlineQueryResultLocation {
pub id: String,
pub location: Location,
pub title: String,
pub thumbnail: Option<PhotoSize>,
}
Expand description
Represents a point on the map
Fields§
§id: String
Unique identifier of the query result
location: Location
Location result
title: String
Title of the result
thumbnail: Option<PhotoSize>
Result thumbnail; may be null
Trait Implementations§
Source§impl Clone for InlineQueryResultLocation
impl Clone for InlineQueryResultLocation
Source§fn clone(&self) -> InlineQueryResultLocation
fn clone(&self) -> InlineQueryResultLocation
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 InlineQueryResultLocation
impl Debug for InlineQueryResultLocation
Source§impl<'de> Deserialize<'de> for InlineQueryResultLocation
impl<'de> Deserialize<'de> for InlineQueryResultLocation
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
Auto Trait Implementations§
impl Freeze for InlineQueryResultLocation
impl RefUnwindSafe for InlineQueryResultLocation
impl Send for InlineQueryResultLocation
impl Sync for InlineQueryResultLocation
impl Unpin for InlineQueryResultLocation
impl UnwindSafe for InlineQueryResultLocation
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