pub struct MetadataProviderScheme {
pub artefact: CommonArtefactType,
pub is_partial: Option<bool>,
pub metadata_providers: Option<Vec<Item>>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
The item scheme for a metadata provider.
Fields§
§artefact: CommonArtefactType
§is_partial: Option<bool>
§metadata_providers: Option<Vec<Item>>
§other: Option<HashMap<String, Value>>
Trait Implementations§
Source§impl Artefact for MetadataProviderScheme
impl Artefact for MetadataProviderScheme
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 MetadataProviderScheme
impl Clone for MetadataProviderScheme
Source§fn clone(&self) -> MetadataProviderScheme
fn clone(&self) -> MetadataProviderScheme
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 MetadataProviderScheme
impl Debug for MetadataProviderScheme
Source§impl<'de> Deserialize<'de> for MetadataProviderScheme
impl<'de> Deserialize<'de> for MetadataProviderScheme
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 MetadataProviderScheme
impl Extendable for MetadataProviderScheme
Source§impl ItemScheme for MetadataProviderScheme
impl ItemScheme for MetadataProviderScheme
Source§impl PartialEq for MetadataProviderScheme
impl PartialEq for MetadataProviderScheme
Source§impl Serialize for MetadataProviderScheme
impl Serialize for MetadataProviderScheme
impl Eq for MetadataProviderScheme
impl StructuralPartialEq for MetadataProviderScheme
Auto Trait Implementations§
impl Freeze for MetadataProviderScheme
impl RefUnwindSafe for MetadataProviderScheme
impl Send for MetadataProviderScheme
impl Sync for MetadataProviderScheme
impl Unpin for MetadataProviderScheme
impl UnwindSafe for MetadataProviderScheme
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