pub struct LocationPayload {
pub latitude: f64,
pub longitude: f64,
}Expand description
Полезная нагрузка для геолокации.
Fields§
§latitude: f64§longitude: f64Trait Implementations§
Source§impl Clone for LocationPayload
impl Clone for LocationPayload
Source§fn clone(&self) -> LocationPayload
fn clone(&self) -> LocationPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocationPayload
impl Debug for LocationPayload
Source§impl<'de> Deserialize<'de> for LocationPayload
impl<'de> Deserialize<'de> for LocationPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LocationPayload
impl RefUnwindSafe for LocationPayload
impl Send for LocationPayload
impl Sync for LocationPayload
impl Unpin for LocationPayload
impl UnsafeUnpin for LocationPayload
impl UnwindSafe for LocationPayload
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