pub trait ArchiveComponentTrait {
// Required methods
fn get_holding_archive(&self) -> &[HoldingArchiveProperty];
fn take_holding_archive(&mut self) -> Vec<HoldingArchiveProperty>;
fn get_item_location(&self) -> &[ItemLocationProperty];
fn take_item_location(&mut self) -> Vec<ItemLocationProperty>;
}
Expand description
This trait is for properties from https://schema.org/ArchiveComponent.
Required Methods§
sourcefn get_holding_archive(&self) -> &[HoldingArchiveProperty]
fn get_holding_archive(&self) -> &[HoldingArchiveProperty]
Get https://schema.org/holdingArchive from Self
as borrowed slice.
sourcefn take_holding_archive(&mut self) -> Vec<HoldingArchiveProperty>
fn take_holding_archive(&mut self) -> Vec<HoldingArchiveProperty>
Take https://schema.org/holdingArchive from Self
as owned vector.
sourcefn get_item_location(&self) -> &[ItemLocationProperty]
fn get_item_location(&self) -> &[ItemLocationProperty]
Get https://schema.org/itemLocation from Self
as borrowed slice.
sourcefn take_item_location(&mut self) -> Vec<ItemLocationProperty>
fn take_item_location(&mut self) -> Vec<ItemLocationProperty>
Take https://schema.org/itemLocation from Self
as owned vector.