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