pub struct PibInfo {
pub name: String,
pub kind: AdministrativeUnitKind,
pub data_sources: Option<Vec<DataSource>>,
pub note: Option<String>,
pub identifiers: Identifiers,
}Expand description
The information of an administrative unit stored in a file to be read by pibtool.
Fields§
§name: StringThe name of the administrative unit.
kind: AdministrativeUnitKindThe kind of administrative unit.
data_sources: Option<Vec<DataSource>>A list of known data sources for the administrative unit.
note: Option<String>Extra notes, if required.
identifiers: IdentifiersA set of known identifiers for the administrative unit.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PibInfo
impl<'de> Deserialize<'de> for PibInfo
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 Ord for PibInfo
impl Ord for PibInfo
Source§impl PartialOrd for PibInfo
impl PartialOrd for PibInfo
impl Eq for PibInfo
impl StructuralPartialEq for PibInfo
Auto Trait Implementations§
impl Freeze for PibInfo
impl RefUnwindSafe for PibInfo
impl Send for PibInfo
impl Sync for PibInfo
impl Unpin for PibInfo
impl UnwindSafe for PibInfo
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