Struct fastly_api::models::pop_coordinates::PopCoordinates
source · pub struct PopCoordinates {
pub latitude: f32,
pub longitude: f32,
}
Expand description
PopCoordinates : the geographic location of the POP
Fields§
§latitude: f32
§longitude: f32
Implementations§
source§impl PopCoordinates
impl PopCoordinates
sourcepub fn new(latitude: f32, longitude: f32) -> PopCoordinates
pub fn new(latitude: f32, longitude: f32) -> PopCoordinates
the geographic location of the POP
Trait Implementations§
source§impl Clone for PopCoordinates
impl Clone for PopCoordinates
source§fn clone(&self) -> PopCoordinates
fn clone(&self) -> PopCoordinates
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 PopCoordinates
impl Debug for PopCoordinates
source§impl Default for PopCoordinates
impl Default for PopCoordinates
source§fn default() -> PopCoordinates
fn default() -> PopCoordinates
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PopCoordinates
impl<'de> Deserialize<'de> for PopCoordinates
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 PartialEq<PopCoordinates> for PopCoordinates
impl PartialEq<PopCoordinates> for PopCoordinates
source§fn eq(&self, other: &PopCoordinates) -> bool
fn eq(&self, other: &PopCoordinates) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.