pub struct BotInlineMessageMediaGeo {
pub geo: GeoPoint,
pub heading: Option<i32>,
pub period: Option<i32>,
pub proximity_notification_radius: Option<i32>,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Generated from:
botInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§geo: GeoPoint§heading: Option<i32>§period: Option<i32>§proximity_notification_radius: Option<i32>§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageMediaGeo
impl Clone for BotInlineMessageMediaGeo
Source§fn clone(&self) -> BotInlineMessageMediaGeo
fn clone(&self) -> BotInlineMessageMediaGeo
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 BotInlineMessageMediaGeo
impl Debug for BotInlineMessageMediaGeo
Source§impl Deserializable for BotInlineMessageMediaGeo
impl Deserializable for BotInlineMessageMediaGeo
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<BotInlineMessageMediaGeo> for BotInlineMessage
impl From<BotInlineMessageMediaGeo> for BotInlineMessage
Source§fn from(x: BotInlineMessageMediaGeo) -> Self
fn from(x: BotInlineMessageMediaGeo) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageMediaGeo
impl Identifiable for BotInlineMessageMediaGeo
Source§const CONSTRUCTOR_ID: u32 = 0x051846fd
const CONSTRUCTOR_ID: u32 = 0x051846fd
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotInlineMessageMediaGeo
impl PartialEq for BotInlineMessageMediaGeo
Source§impl TryFrom<BotInlineMessage> for BotInlineMessageMediaGeo
impl TryFrom<BotInlineMessage> for BotInlineMessageMediaGeo
Source§type Error = BotInlineMessage
type Error = BotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotInlineMessageMediaGeo
Auto Trait Implementations§
impl Freeze for BotInlineMessageMediaGeo
impl RefUnwindSafe for BotInlineMessageMediaGeo
impl Send for BotInlineMessageMediaGeo
impl Sync for BotInlineMessageMediaGeo
impl Unpin for BotInlineMessageMediaGeo
impl UnsafeUnpin for BotInlineMessageMediaGeo
impl UnwindSafe for BotInlineMessageMediaGeo
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