pub trait PropertyTrait {
    // Required methods
    fn get_domain_includes(&self) -> &[DomainIncludesProperty];
    fn take_domain_includes(&mut self) -> Vec<DomainIncludesProperty>;
    fn get_inverse_of(&self) -> &[InverseOfProperty];
    fn take_inverse_of(&mut self) -> Vec<InverseOfProperty>;
    fn get_range_includes(&self) -> &[RangeIncludesProperty];
    fn take_range_includes(&mut self) -> Vec<RangeIncludesProperty>;
    fn get_superseded_by(&self) -> &[SupersededByProperty];
    fn take_superseded_by(&mut self) -> Vec<SupersededByProperty>;
}
Expand description

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

Required Methods§

Implementors§