Struct sep2_common::packages::types::GPSLocationType
source · pub struct GPSLocationType {
pub lat: String32,
pub lon: String32,
}
Expand description
Specifies a GPS location, expressed in WGS 84 coordinates.
Fields§
§lat: String32
Specifies the latitude from equator. -90 (south) to +90 (north) in decimal degrees.
lon: String32
Specifies the longitude from Greenwich Meridian. -180 (west) to +180 (east) in decimal degrees.
Trait Implementations§
source§impl Clone for GPSLocationType
impl Clone for GPSLocationType
source§fn clone(&self) -> GPSLocationType
fn clone(&self) -> GPSLocationType
Returns a copy 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 moresource§impl Debug for GPSLocationType
impl Debug for GPSLocationType
source§impl Default for GPSLocationType
impl Default for GPSLocationType
source§fn default() -> GPSLocationType
fn default() -> GPSLocationType
Returns the “default value” for a type. Read more
source§impl PartialEq<GPSLocationType> for GPSLocationType
impl PartialEq<GPSLocationType> for GPSLocationType
source§fn eq(&self, other: &GPSLocationType) -> bool
fn eq(&self, other: &GPSLocationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for GPSLocationType
impl YaDeserialize for GPSLocationType
source§impl YaSerialize for GPSLocationType
impl YaSerialize for GPSLocationType
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for GPSLocationType
impl StructuralEq for GPSLocationType
impl StructuralPartialEq for GPSLocationType
Auto Trait Implementations§
impl RefUnwindSafe for GPSLocationType
impl Send for GPSLocationType
impl Sync for GPSLocationType
impl Unpin for GPSLocationType
impl UnwindSafe for GPSLocationType
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