pub enum DataSource {
Show 15 variants
OfficialWebsite(OfficialWebsiteDataSource),
WikipediaPage(WikipediaPageDataSource),
LegalFramework(LegalFrameworkDataSource),
FragDenStaat(FragDenStaatDataSource),
GemdatFolders(GemdatFoldersDataSource),
GszAccordionCards(GszAccordionCardsDataSource),
CitiesApp(CitiesAppDataSource),
SessionNet(SessionNetDataSource),
CityVienna(CityViennaDataSource),
CityWels(CityWelsDataSource),
DistrictVienna(DistrictViennaDataSource),
MunicipalityBreitenfurt(MunicipalityBreitenfurtDataSource),
CityLinz(CityLinzDataSource),
CityLeonding(CityLeondingDataSource),
UnknownPageFormat(UnknownPageFormatDataSource),
}Expand description
An enumeration type representing one of the available data source descriptions.
Variants§
OfficialWebsite(OfficialWebsiteDataSource)
Official website data source.
WikipediaPage(WikipediaPageDataSource)
Wikipedia page data source.
LegalFramework(LegalFrameworkDataSource)
Legal framework data source.
FragDenStaat(FragDenStaatDataSource)
Frag den Staat data source.
GemdatFolders(GemdatFoldersDataSource)
Gemdat folders data source.
GszAccordionCards(GszAccordionCardsDataSource)
GSZ accordion data source.
CitiesApp(CitiesAppDataSource)
CitiesApp data source.
SessionNet(SessionNetDataSource)
SessionNet data source.
CityVienna(CityViennaDataSource)
City Vienna data source.
CityWels(CityWelsDataSource)
City Wels data source.
DistrictVienna(DistrictViennaDataSource)
Viennese district data source.
MunicipalityBreitenfurt(MunicipalityBreitenfurtDataSource)
Municipality of Breitenfurt data source.
CityLinz(CityLinzDataSource)
City Linz data source.
CityLeonding(CityLeondingDataSource)
City Leonding data source.
UnknownPageFormat(UnknownPageFormatDataSource)
Data source for a web page in an unknown format.
Trait Implementations§
Source§impl Clone for DataSource
impl Clone for DataSource
Source§fn clone(&self) -> DataSource
fn clone(&self) -> DataSource
Returns a duplicate 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 DataSourceInfo for DataSource
impl DataSourceInfo for DataSource
Source§fn is_download_supported(&self) -> bool
fn is_download_supported(&self) -> bool
Tell whether the download is supported from that data source.
Source§fn provides_documents(&self, document_kind: DocumentKind) -> bool
fn provides_documents(&self, document_kind: DocumentKind) -> bool
Get the list of documents provided by that data source.
Source§impl Debug for DataSource
impl Debug for DataSource
Source§impl<'de> Deserialize<'de> for DataSource
impl<'de> Deserialize<'de> for DataSource
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 DataSource
impl Ord for DataSource
Source§fn cmp(&self, other: &DataSource) -> Ordering
fn cmp(&self, other: &DataSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DataSource
impl PartialEq for DataSource
Source§impl PartialOrd for DataSource
impl PartialOrd for DataSource
Source§impl Serialize for DataSource
impl Serialize for DataSource
impl Eq for DataSource
impl StructuralPartialEq for DataSource
Auto Trait Implementations§
impl Freeze for DataSource
impl RefUnwindSafe for DataSource
impl Send for DataSource
impl Sync for DataSource
impl Unpin for DataSource
impl UnwindSafe for DataSource
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