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