Struct rtzlib::shared::OsmAdminResponse1
source · pub struct OsmAdminResponse1 {
pub id: usize,
pub name: &'static str,
pub level: u8,
}Expand description
Fields§
§id: usizeThe index of the OsmAdminResponse1 in the global static cache.
This is is not stable across builds or new data sets. It is merely unique during a single build.
name: &'static strThe name of the OsmAdminResponse1 (e.g., France).
level: u8The admin_level of the OsmAdminResponse1 (e.g., 2).
Trait Implementations§
source§impl Debug for OsmAdminResponse1
impl Debug for OsmAdminResponse1
source§impl Deserialize<'static> for OsmAdminResponse1
impl Deserialize<'static> for OsmAdminResponse1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&'static OsmAdmin> for OsmAdminResponse1
impl From<&'static OsmAdmin> for OsmAdminResponse1
source§fn from(value: &'static OsmAdmin) -> OsmAdminResponse1
fn from(value: &'static OsmAdmin) -> OsmAdminResponse1
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OsmAdminResponse1
impl Send for OsmAdminResponse1
impl Sync for OsmAdminResponse1
impl Unpin for OsmAdminResponse1
impl UnwindSafe for OsmAdminResponse1
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