pub struct InputBotInlineMessageMediaVenue {
pub geo_point: InputGeoPoint,
pub title: String,
pub address: String,
pub provider: String,
pub venue_id: String,
pub venue_type: String,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
inputBotInlineMessageMediaVenue
Generated from:
inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessageFields§
§geo_point: InputGeoPoint§title: String§address: String§provider: String§venue_id: String§venue_type: String§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for InputBotInlineMessageMediaVenue
impl Clone for InputBotInlineMessageMediaVenue
Source§fn clone(&self) -> InputBotInlineMessageMediaVenue
fn clone(&self) -> InputBotInlineMessageMediaVenue
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 Deserializable for InputBotInlineMessageMediaVenue
impl Deserializable for InputBotInlineMessageMediaVenue
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputBotInlineMessageMediaVenue> for InputBotInlineMessage
impl From<InputBotInlineMessageMediaVenue> for InputBotInlineMessage
Source§fn from(x: InputBotInlineMessageMediaVenue) -> Self
fn from(x: InputBotInlineMessageMediaVenue) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBotInlineMessageMediaVenue
impl Identifiable for InputBotInlineMessageMediaVenue
Source§const CONSTRUCTOR_ID: u32 = 0x417bbf11
const CONSTRUCTOR_ID: u32 = 0x417bbf11
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputBotInlineMessageMediaVenue
impl PartialEq for InputBotInlineMessageMediaVenue
Source§fn eq(&self, other: &InputBotInlineMessageMediaVenue) -> bool
fn eq(&self, other: &InputBotInlineMessageMediaVenue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<InputBotInlineMessage> for InputBotInlineMessageMediaVenue
impl TryFrom<InputBotInlineMessage> for InputBotInlineMessageMediaVenue
Source§type Error = InputBotInlineMessage
type Error = InputBotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputBotInlineMessageMediaVenue
Auto Trait Implementations§
impl Freeze for InputBotInlineMessageMediaVenue
impl RefUnwindSafe for InputBotInlineMessageMediaVenue
impl Send for InputBotInlineMessageMediaVenue
impl Sync for InputBotInlineMessageMediaVenue
impl Unpin for InputBotInlineMessageMediaVenue
impl UnsafeUnpin for InputBotInlineMessageMediaVenue
impl UnwindSafe for InputBotInlineMessageMediaVenue
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