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