pub struct BotInlineMessageMediaVenue {
pub geo: GeoPoint,
pub title: String,
pub address: String,
pub provider: String,
pub venue_id: String,
pub venue_type: String,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Generated from:
botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§geo: GeoPoint§title: String§address: String§provider: String§venue_id: String§venue_type: String§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageMediaVenue
impl Clone for BotInlineMessageMediaVenue
Source§fn clone(&self) -> BotInlineMessageMediaVenue
fn clone(&self) -> BotInlineMessageMediaVenue
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 BotInlineMessageMediaVenue
impl Debug for BotInlineMessageMediaVenue
Source§impl Deserializable for BotInlineMessageMediaVenue
impl Deserializable for BotInlineMessageMediaVenue
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<BotInlineMessageMediaVenue> for BotInlineMessage
impl From<BotInlineMessageMediaVenue> for BotInlineMessage
Source§fn from(x: BotInlineMessageMediaVenue) -> Self
fn from(x: BotInlineMessageMediaVenue) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageMediaVenue
impl Identifiable for BotInlineMessageMediaVenue
Source§const CONSTRUCTOR_ID: u32 = 0x8a86659c
const CONSTRUCTOR_ID: u32 = 0x8a86659c
The constructor ID as specified in the TL schema.
Source§impl TryFrom<BotInlineMessage> for BotInlineMessageMediaVenue
impl TryFrom<BotInlineMessage> for BotInlineMessageMediaVenue
Source§type Error = BotInlineMessage
type Error = BotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotInlineMessageMediaVenue
Auto Trait Implementations§
impl Freeze for BotInlineMessageMediaVenue
impl RefUnwindSafe for BotInlineMessageMediaVenue
impl Send for BotInlineMessageMediaVenue
impl Sync for BotInlineMessageMediaVenue
impl Unpin for BotInlineMessageMediaVenue
impl UnsafeUnpin for BotInlineMessageMediaVenue
impl UnwindSafe for BotInlineMessageMediaVenue
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