pub struct AgencyScheme {
pub artefact: CommonArtefactType,
pub is_partial: Option<bool>,
pub agencies: Option<Vec<Item>>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
The item scheme for an agency.
Fields§
§artefact: CommonArtefactType
§is_partial: Option<bool>
§agencies: Option<Vec<Item>>
§other: Option<HashMap<String, Value>>
Trait Implementations§
Source§impl Artefact for AgencyScheme
impl Artefact for AgencyScheme
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 AgencyScheme
impl Clone for AgencyScheme
Source§fn clone(&self) -> AgencyScheme
fn clone(&self) -> AgencyScheme
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 AgencyScheme
impl Debug for AgencyScheme
Source§impl Default for AgencyScheme
impl Default for AgencyScheme
Source§fn default() -> AgencyScheme
fn default() -> AgencyScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgencyScheme
impl<'de> Deserialize<'de> for AgencyScheme
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 ItemScheme for AgencyScheme
impl ItemScheme for AgencyScheme
Source§impl PartialEq for AgencyScheme
impl PartialEq for AgencyScheme
Source§impl Serialize for AgencyScheme
impl Serialize for AgencyScheme
impl Eq for AgencyScheme
impl StructuralPartialEq for AgencyScheme
Auto Trait Implementations§
impl Freeze for AgencyScheme
impl RefUnwindSafe for AgencyScheme
impl Send for AgencyScheme
impl Sync for AgencyScheme
impl Unpin for AgencyScheme
impl UnwindSafe for AgencyScheme
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