pub struct GeoPoint {
pub long: f64,
pub lat: f64,
pub access_hash: i64,
pub accuracy_radius: Option<i32>,
}Expand description
Generated from:
geoPoint#b2a2f663 flags:# long:double lat:double access_hash:long accuracy_radius:flags.0?int = GeoPointFields§
§long: f64§lat: f64§access_hash: i64§accuracy_radius: Option<i32>Trait Implementations§
Source§impl Deserializable for GeoPoint
impl Deserializable for GeoPoint
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 Identifiable for GeoPoint
impl Identifiable for GeoPoint
Source§const CONSTRUCTOR_ID: u32 = 0xb2a2f663
const CONSTRUCTOR_ID: u32 = 0xb2a2f663
The constructor ID as specified in the TL schema.
Source§impl Serializable for GeoPoint
impl Serializable for GeoPoint
impl StructuralPartialEq for GeoPoint
Auto Trait Implementations§
impl Freeze for GeoPoint
impl RefUnwindSafe for GeoPoint
impl Send for GeoPoint
impl Sync for GeoPoint
impl Unpin for GeoPoint
impl UnsafeUnpin for GeoPoint
impl UnwindSafe for GeoPoint
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