pub struct LocationMessageContent {
pub type: Option<String>,
pub id: String,
pub title: Option<String>,
pub address: Option<String>,
pub latitude: f64,
pub longitude: f64,
}Fields§
§type: Option<String>Type
id: StringMessage ID
title: Option<String>Title
address: Option<String>Address
latitude: f64Latitude
longitude: f64Longitude
Implementations§
Trait Implementations§
Source§impl Clone for LocationMessageContent
impl Clone for LocationMessageContent
Source§fn clone(&self) -> LocationMessageContent
fn clone(&self) -> LocationMessageContent
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 LocationMessageContent
impl Debug for LocationMessageContent
Source§impl Default for LocationMessageContent
impl Default for LocationMessageContent
Source§fn default() -> LocationMessageContent
fn default() -> LocationMessageContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationMessageContent
impl<'de> Deserialize<'de> for LocationMessageContent
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
Source§impl PartialEq for LocationMessageContent
impl PartialEq for LocationMessageContent
Source§impl Serialize for LocationMessageContent
impl Serialize for LocationMessageContent
impl StructuralPartialEq for LocationMessageContent
Auto Trait Implementations§
impl Freeze for LocationMessageContent
impl RefUnwindSafe for LocationMessageContent
impl Send for LocationMessageContent
impl Sync for LocationMessageContent
impl Unpin for LocationMessageContent
impl UnwindSafe for LocationMessageContent
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