pub struct Location {
pub altitude_meters: Option<f64>,
pub contacts: Option<Vec<ContactInfo>>,
pub info: Option<String>,
pub info_format: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub oem: Option<Oem>,
pub part_location: Option<PartLocation>,
pub placement: Option<Placement>,
pub postal_address: Option<PostalAddress>,
}
Expand description
The location of a resource.
Fields§
§altitude_meters: Option<f64>
The altitude of the resource in meters.
contacts: Option<Vec<ContactInfo>>
An array of contact information.
info: Option<String>
The location of the resource.
info_format: Option<String>
The format of the Info property.
latitude: Option<f64>
The latitude of the resource.
longitude: Option<f64>
The longitude of the resource in degrees.
oem: Option<Oem>
§part_location: Option<PartLocation>
§placement: Option<Placement>
§postal_address: Option<PostalAddress>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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