pub struct StructuredLocationInput {
pub title: String,
pub latitude: f64,
pub longitude: f64,
pub radius_meters: f64,
}Expand description
Structured location metadata for an event — title + lat/lng + a display
radius. Unlike GeofenceInput, there’s no proximity trigger; events use
this for travel-time, map preview, and Siri suggestions.
Fields§
§title: String§latitude: f64§longitude: f64§radius_meters: f64Display radius in meters (0 = labeled point with no radius).
Trait Implementations§
Source§impl Debug for StructuredLocationInput
impl Debug for StructuredLocationInput
Source§impl<'de> Deserialize<'de> for StructuredLocationInput
impl<'de> Deserialize<'de> for StructuredLocationInput
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 JsonSchema for StructuredLocationInput
impl JsonSchema for StructuredLocationInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for StructuredLocationInput
impl RefUnwindSafe for StructuredLocationInput
impl Send for StructuredLocationInput
impl Sync for StructuredLocationInput
impl Unpin for StructuredLocationInput
impl UnsafeUnpin for StructuredLocationInput
impl UnwindSafe for StructuredLocationInput
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