pub struct CityLinzDataSource {
pub url: Url,
pub contained_documents: BTreeMap<DocumentKind, BTreeMap<String, String>>,
}Expand description
The CityLinz data source.
Fields§
§url: UrlThe entry url for the data source.
contained_documents: BTreeMap<DocumentKind, BTreeMap<String, String>>The kinds of documents provided by the data source.
Trait Implementations§
Source§impl Clone for CityLinzDataSource
impl Clone for CityLinzDataSource
Source§fn clone(&self) -> CityLinzDataSource
fn clone(&self) -> CityLinzDataSource
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 CityLinzDataSource
impl DataSourceInfo for CityLinzDataSource
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 CityLinzDataSource
impl Debug for CityLinzDataSource
Source§impl<'de> Deserialize<'de> for CityLinzDataSource
impl<'de> Deserialize<'de> for CityLinzDataSource
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 CityLinzDataSource
impl Ord for CityLinzDataSource
Source§fn cmp(&self, other: &CityLinzDataSource) -> Ordering
fn cmp(&self, other: &CityLinzDataSource) -> 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 CityLinzDataSource
impl PartialEq for CityLinzDataSource
Source§impl PartialOrd for CityLinzDataSource
impl PartialOrd for CityLinzDataSource
Source§impl Serialize for CityLinzDataSource
impl Serialize for CityLinzDataSource
impl Eq for CityLinzDataSource
impl StructuralPartialEq for CityLinzDataSource
Auto Trait Implementations§
impl Freeze for CityLinzDataSource
impl RefUnwindSafe for CityLinzDataSource
impl Send for CityLinzDataSource
impl Sync for CityLinzDataSource
impl Unpin for CityLinzDataSource
impl UnwindSafe for CityLinzDataSource
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