pub struct StructuredLocation {
pub title: String,
pub latitude: f64,
pub longitude: f64,
pub radius: f64,
}Expand description
A structured location for geofenced alarms.
Fields§
§title: StringDisplay title for the location.
latitude: f64Latitude of the location.
longitude: f64Longitude of the location.
radius: f64Geofence radius in meters.
Trait Implementations§
Source§impl Clone for StructuredLocation
impl Clone for StructuredLocation
Source§fn clone(&self) -> StructuredLocation
fn clone(&self) -> StructuredLocation
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 moreAuto Trait Implementations§
impl Freeze for StructuredLocation
impl RefUnwindSafe for StructuredLocation
impl Send for StructuredLocation
impl Sync for StructuredLocation
impl Unpin for StructuredLocation
impl UnsafeUnpin for StructuredLocation
impl UnwindSafe for StructuredLocation
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