pub struct UnknownPageFormatDataSource {
pub url: Url,
pub contained_documents: BTreeMap<DocumentKind, BTreeMap<String, String>>,
}Expand description
The data source to be used as a placeholder for pages of which the format is not yet supported.
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 UnknownPageFormatDataSource
impl Clone for UnknownPageFormatDataSource
Source§fn clone(&self) -> UnknownPageFormatDataSource
fn clone(&self) -> UnknownPageFormatDataSource
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 UnknownPageFormatDataSource
impl DataSourceInfo for UnknownPageFormatDataSource
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 UnknownPageFormatDataSource
impl Debug for UnknownPageFormatDataSource
Source§impl<'de> Deserialize<'de> for UnknownPageFormatDataSource
impl<'de> Deserialize<'de> for UnknownPageFormatDataSource
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 UnknownPageFormatDataSource
impl Ord for UnknownPageFormatDataSource
Source§fn cmp(&self, other: &UnknownPageFormatDataSource) -> Ordering
fn cmp(&self, other: &UnknownPageFormatDataSource) -> 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 UnknownPageFormatDataSource
impl PartialOrd for UnknownPageFormatDataSource
impl Eq for UnknownPageFormatDataSource
impl StructuralPartialEq for UnknownPageFormatDataSource
Auto Trait Implementations§
impl Freeze for UnknownPageFormatDataSource
impl RefUnwindSafe for UnknownPageFormatDataSource
impl Send for UnknownPageFormatDataSource
impl Sync for UnknownPageFormatDataSource
impl Unpin for UnknownPageFormatDataSource
impl UnwindSafe for UnknownPageFormatDataSource
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