pub struct LocationData {
pub lat: String,
pub lon: String,
pub title: Option<String>,
pub content: Option<String>,
}Fields§
§lat: String§说明
纬度
lon: String§说明
经度
title: Option<String>§说明
发送时可选,标题
content: Option<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 SendSegmentData for LocationData
impl SendSegmentData for LocationData
fn into_send_segment(self) -> SendSegment
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