pub struct OfficialWebsiteDataSource {
pub url: Url,
}Expand description
A data source linking to the official website of an administrative unit.
Fields§
§url: UrlThe entry url for the data source.
Trait Implementations§
Source§impl Clone for OfficialWebsiteDataSource
impl Clone for OfficialWebsiteDataSource
Source§fn clone(&self) -> OfficialWebsiteDataSource
fn clone(&self) -> OfficialWebsiteDataSource
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 OfficialWebsiteDataSource
impl DataSourceInfo for OfficialWebsiteDataSource
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 OfficialWebsiteDataSource
impl Debug for OfficialWebsiteDataSource
Source§impl<'de> Deserialize<'de> for OfficialWebsiteDataSource
impl<'de> Deserialize<'de> for OfficialWebsiteDataSource
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 OfficialWebsiteDataSource
impl Ord for OfficialWebsiteDataSource
Source§fn cmp(&self, other: &OfficialWebsiteDataSource) -> Ordering
fn cmp(&self, other: &OfficialWebsiteDataSource) -> 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 PartialOrd for OfficialWebsiteDataSource
impl PartialOrd for OfficialWebsiteDataSource
impl Eq for OfficialWebsiteDataSource
impl StructuralPartialEq for OfficialWebsiteDataSource
Auto Trait Implementations§
impl Freeze for OfficialWebsiteDataSource
impl RefUnwindSafe for OfficialWebsiteDataSource
impl Send for OfficialWebsiteDataSource
impl Sync for OfficialWebsiteDataSource
impl Unpin for OfficialWebsiteDataSource
impl UnwindSafe for OfficialWebsiteDataSource
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