pub struct LocationData {
pub lat: String,
pub lon: String,
pub title: String,
pub content: String,
}Fields§
§lat: String§说明
纬度
lon: String§说明
经度
title: String§说明
发送时可选,标题
content: String§说明
发送时可选,内容描述
Trait Implementations§
Source§impl Clone for LocationData
impl Clone for LocationData
Source§fn clone(&self) -> LocationData
fn clone(&self) -> LocationData
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 LocationData
impl Debug for LocationData
Source§impl<'de> Deserialize<'de> for LocationData
impl<'de> Deserialize<'de> for LocationData
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 LocationData
impl RefUnwindSafe for LocationData
impl Send for LocationData
impl Sync for LocationData
impl Unpin for LocationData
impl UnsafeUnpin for LocationData
impl UnwindSafe for LocationData
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