pub struct Pop {
pub code: String,
pub name: String,
pub group: String,
pub region: Region,
pub stats_region: StatsRegion,
pub billing_region: BillingRegion,
pub coordinates: Option<Box<PopCoordinates>>,
pub shield: Option<String>,
}
Fields§
§code: String
the three-letter code for the POP
name: String
the name of the POP
group: String
§region: Region
§stats_region: StatsRegion
the region used for stats reporting
billing_region: BillingRegion
the region used for billing
coordinates: Option<Box<PopCoordinates>>
§shield: Option<String>
the name of the shield code if this POP is suitable for shielding
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pop
impl<'de> Deserialize<'de> for Pop
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 Pop
Auto Trait Implementations§
impl Freeze for Pop
impl RefUnwindSafe for Pop
impl Send for Pop
impl Sync for Pop
impl Unpin for Pop
impl UnwindSafe for Pop
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