pub struct GemdatFoldersDataSource {
pub url: Url,
pub contained_documents: BTreeMap<DocumentKind, BTreeMap<String, String>>,
}Expand description
The GemDat folders 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 GemdatFoldersDataSource
impl Clone for GemdatFoldersDataSource
Source§fn clone(&self) -> GemdatFoldersDataSource
fn clone(&self) -> GemdatFoldersDataSource
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 GemdatFoldersDataSource
impl DataSourceInfo for GemdatFoldersDataSource
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 GemdatFoldersDataSource
impl Debug for GemdatFoldersDataSource
Source§impl<'de> Deserialize<'de> for GemdatFoldersDataSource
impl<'de> Deserialize<'de> for GemdatFoldersDataSource
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 GemdatFoldersDataSource
impl Ord for GemdatFoldersDataSource
Source§fn cmp(&self, other: &GemdatFoldersDataSource) -> Ordering
fn cmp(&self, other: &GemdatFoldersDataSource) -> 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 GemdatFoldersDataSource
impl PartialEq for GemdatFoldersDataSource
Source§impl PartialOrd for GemdatFoldersDataSource
impl PartialOrd for GemdatFoldersDataSource
Source§impl Serialize for GemdatFoldersDataSource
impl Serialize for GemdatFoldersDataSource
impl Eq for GemdatFoldersDataSource
impl StructuralPartialEq for GemdatFoldersDataSource
Auto Trait Implementations§
impl Freeze for GemdatFoldersDataSource
impl RefUnwindSafe for GemdatFoldersDataSource
impl Send for GemdatFoldersDataSource
impl Sync for GemdatFoldersDataSource
impl Unpin for GemdatFoldersDataSource
impl UnwindSafe for GemdatFoldersDataSource
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