pub struct DataProviderScheme {
pub artefact: CommonArtefactType,
pub is_partial: Option<bool>,
pub data_providers: Option<Vec<Item>>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
The item scheme for a data provider.
Fields§
§artefact: CommonArtefactType
§is_partial: Option<bool>
§data_providers: Option<Vec<Item>>
§other: Option<HashMap<String, Value>>
Trait Implementations§
Source§impl Artefact for DataProviderScheme
impl Artefact for DataProviderScheme
fn artefact(&self) -> &CommonArtefactType
fn id(&self) -> &String
fn agency_id(&self) -> Option<&String>
fn version(&self) -> Option<&String>
fn name(&self) -> Option<&String>
fn names(&self) -> Option<&LocalizedText>
fn valid_from(&self) -> Option<&String>
fn valid_to(&self) -> Option<&String>
fn is_external_reference(&self) -> Option<bool>
fn annotations(&self) -> Option<&Vec<Annotation>>
fn links(&self) -> Option<&Vec<Link>>
Source§impl Clone for DataProviderScheme
impl Clone for DataProviderScheme
Source§fn clone(&self) -> DataProviderScheme
fn clone(&self) -> DataProviderScheme
Returns a copy 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 Debug for DataProviderScheme
impl Debug for DataProviderScheme
Source§impl Default for DataProviderScheme
impl Default for DataProviderScheme
Source§fn default() -> DataProviderScheme
fn default() -> DataProviderScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataProviderScheme
impl<'de> Deserialize<'de> for DataProviderScheme
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 Extendable for DataProviderScheme
impl Extendable for DataProviderScheme
Source§impl ItemScheme for DataProviderScheme
impl ItemScheme for DataProviderScheme
Source§impl PartialEq for DataProviderScheme
impl PartialEq for DataProviderScheme
Source§impl Serialize for DataProviderScheme
impl Serialize for DataProviderScheme
impl Eq for DataProviderScheme
impl StructuralPartialEq for DataProviderScheme
Auto Trait Implementations§
impl Freeze for DataProviderScheme
impl RefUnwindSafe for DataProviderScheme
impl Send for DataProviderScheme
impl Sync for DataProviderScheme
impl Unpin for DataProviderScheme
impl UnwindSafe for DataProviderScheme
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