pub struct Centroid {
pub lat: f64,
pub lon: f64,
}
Expand description
This object represents the centroid of the Item Geometry.
Fields§
§lat: f64
The latitude of the centroid.
lon: f64
The longitude of the centroid.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Centroid
impl<'de> Deserialize<'de> for Centroid
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
impl StructuralPartialEq for Centroid
Auto Trait Implementations§
impl Freeze for Centroid
impl RefUnwindSafe for Centroid
impl Send for Centroid
impl Sync for Centroid
impl Unpin for Centroid
impl UnwindSafe for Centroid
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