pub trait AlignmentObjectTrait {
// Required methods
fn get_alignment_type(&self) -> &[AlignmentTypeProperty];
fn take_alignment_type(&mut self) -> Vec<AlignmentTypeProperty>;
fn get_educational_framework(&self) -> &[EducationalFrameworkProperty];
fn take_educational_framework(
&mut self
) -> Vec<EducationalFrameworkProperty>;
fn get_target_description(&self) -> &[TargetDescriptionProperty];
fn take_target_description(&mut self) -> Vec<TargetDescriptionProperty>;
fn get_target_name(&self) -> &[TargetNameProperty];
fn take_target_name(&mut self) -> Vec<TargetNameProperty>;
fn get_target_url(&self) -> &[TargetUrlProperty];
fn take_target_url(&mut self) -> Vec<TargetUrlProperty>;
}
Expand description
This trait is for properties from https://schema.org/AlignmentObject.
Required Methods§
sourcefn get_alignment_type(&self) -> &[AlignmentTypeProperty]
fn get_alignment_type(&self) -> &[AlignmentTypeProperty]
Get https://schema.org/alignmentType from Self
as borrowed slice.
sourcefn take_alignment_type(&mut self) -> Vec<AlignmentTypeProperty>
fn take_alignment_type(&mut self) -> Vec<AlignmentTypeProperty>
Take https://schema.org/alignmentType from Self
as owned vector.
sourcefn get_educational_framework(&self) -> &[EducationalFrameworkProperty]
fn get_educational_framework(&self) -> &[EducationalFrameworkProperty]
Get https://schema.org/educationalFramework from Self
as borrowed slice.
sourcefn take_educational_framework(&mut self) -> Vec<EducationalFrameworkProperty>
fn take_educational_framework(&mut self) -> Vec<EducationalFrameworkProperty>
Take https://schema.org/educationalFramework from Self
as owned vector.
sourcefn get_target_description(&self) -> &[TargetDescriptionProperty]
fn get_target_description(&self) -> &[TargetDescriptionProperty]
Get https://schema.org/targetDescription from Self
as borrowed slice.
sourcefn take_target_description(&mut self) -> Vec<TargetDescriptionProperty>
fn take_target_description(&mut self) -> Vec<TargetDescriptionProperty>
Take https://schema.org/targetDescription from Self
as owned vector.
sourcefn get_target_name(&self) -> &[TargetNameProperty]
fn get_target_name(&self) -> &[TargetNameProperty]
Get https://schema.org/targetName from Self
as borrowed slice.
sourcefn take_target_name(&mut self) -> Vec<TargetNameProperty>
fn take_target_name(&mut self) -> Vec<TargetNameProperty>
Take https://schema.org/targetName from Self
as owned vector.
sourcefn get_target_url(&self) -> &[TargetUrlProperty]
fn get_target_url(&self) -> &[TargetUrlProperty]
Get https://schema.org/targetUrl from Self
as borrowed slice.
sourcefn take_target_url(&mut self) -> Vec<TargetUrlProperty>
fn take_target_url(&mut self) -> Vec<TargetUrlProperty>
Take https://schema.org/targetUrl from Self
as owned vector.