pub struct LocationEventData {
pub type: String,
pub id: String,
}Expand description
This is a model struct for LocationEventData type.
Fields§
§type: StringThe type of the event data object. The value is “location”. Max Length 50
id: StringThe ID of the associated Location
Trait Implementations§
Source§impl Clone for LocationEventData
impl Clone for LocationEventData
Source§fn clone(&self) -> LocationEventData
fn clone(&self) -> LocationEventData
Returns a copy 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 LocationEventData
impl Debug for LocationEventData
Source§impl Default for LocationEventData
impl Default for LocationEventData
Source§fn default() -> LocationEventData
fn default() -> LocationEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationEventData
impl<'de> Deserialize<'de> for LocationEventData
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 LocationEventData
impl PartialEq for LocationEventData
Source§impl Serialize for LocationEventData
impl Serialize for LocationEventData
impl Eq for LocationEventData
impl StructuralPartialEq for LocationEventData
Auto Trait Implementations§
impl Freeze for LocationEventData
impl RefUnwindSafe for LocationEventData
impl Send for LocationEventData
impl Sync for LocationEventData
impl Unpin for LocationEventData
impl UnwindSafe for LocationEventData
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