pub struct InputMediaGeoPoint {
pub geo_point: InputGeoPoint,
}Expand description
Fields§
§geo_point: InputGeoPointTrait Implementations§
Source§impl Clone for InputMediaGeoPoint
impl Clone for InputMediaGeoPoint
Source§fn clone(&self) -> InputMediaGeoPoint
fn clone(&self) -> InputMediaGeoPoint
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 InputMediaGeoPoint
impl Debug for InputMediaGeoPoint
Source§impl Deserializable for InputMediaGeoPoint
impl Deserializable for InputMediaGeoPoint
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<InputMediaGeoPoint> for InputMedia
impl From<InputMediaGeoPoint> for InputMedia
Source§fn from(x: InputMediaGeoPoint) -> Self
fn from(x: InputMediaGeoPoint) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaGeoPoint
impl Identifiable for InputMediaGeoPoint
Source§const CONSTRUCTOR_ID: u32 = 0xf9c44144
const CONSTRUCTOR_ID: u32 = 0xf9c44144
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaGeoPoint
impl PartialEq for InputMediaGeoPoint
Source§impl Serializable for InputMediaGeoPoint
impl Serializable for InputMediaGeoPoint
Source§impl TryFrom<InputMedia> for InputMediaGeoPoint
impl TryFrom<InputMedia> for InputMediaGeoPoint
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaGeoPoint
Auto Trait Implementations§
impl Freeze for InputMediaGeoPoint
impl RefUnwindSafe for InputMediaGeoPoint
impl Send for InputMediaGeoPoint
impl Sync for InputMediaGeoPoint
impl Unpin for InputMediaGeoPoint
impl UnsafeUnpin for InputMediaGeoPoint
impl UnwindSafe for InputMediaGeoPoint
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