pub enum GeoTarget {
Point(GeoPoint),
Region(GeoRegionCode),
ServiceArea(ServiceArea),
Radius {
center: GeoPoint,
radius: LocationRadius,
},
}Expand description
Geographic targeting shape for presence and discovery surfaces.
Variants§
Point(GeoPoint)
A point target.
Region(GeoRegionCode)
A region-code target.
ServiceArea(ServiceArea)
A named service area target.
Radius
A radius around a point.
Trait Implementations§
impl StructuralPartialEq for GeoTarget
Auto Trait Implementations§
impl Freeze for GeoTarget
impl RefUnwindSafe for GeoTarget
impl Send for GeoTarget
impl Sync for GeoTarget
impl Unpin for GeoTarget
impl UnsafeUnpin for GeoTarget
impl UnwindSafe for GeoTarget
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