pub trait OwnershipInfoTrait {
    // Required methods
    fn get_acquired_from(&self) -> &[AcquiredFromProperty];
    fn take_acquired_from(&mut self) -> Vec<AcquiredFromProperty>;
    fn get_owned_from(&self) -> &[OwnedFromProperty];
    fn take_owned_from(&mut self) -> Vec<OwnedFromProperty>;
    fn get_owned_through(&self) -> &[OwnedThroughProperty];
    fn take_owned_through(&mut self) -> Vec<OwnedThroughProperty>;
    fn get_type_of_good(&self) -> &[TypeOfGoodProperty];
    fn take_type_of_good(&mut self) -> Vec<TypeOfGoodProperty>;
}
Expand description

This trait is for properties from https://schema.org/OwnershipInfo.

Required Methods§

Implementors§