pub trait ParentAudienceTrait {
// Required methods
fn get_child_max_age(&self) -> &[ChildMaxAgeProperty];
fn take_child_max_age(&mut self) -> Vec<ChildMaxAgeProperty>;
fn get_child_min_age(&self) -> &[ChildMinAgeProperty];
fn take_child_min_age(&mut self) -> Vec<ChildMinAgeProperty>;
}
Expand description
This trait is for properties from https://schema.org/ParentAudience.
Required Methods§
sourcefn get_child_max_age(&self) -> &[ChildMaxAgeProperty]
fn get_child_max_age(&self) -> &[ChildMaxAgeProperty]
Get https://schema.org/childMaxAge from Self
as borrowed slice.
sourcefn take_child_max_age(&mut self) -> Vec<ChildMaxAgeProperty>
fn take_child_max_age(&mut self) -> Vec<ChildMaxAgeProperty>
Take https://schema.org/childMaxAge from Self
as owned vector.
sourcefn get_child_min_age(&self) -> &[ChildMinAgeProperty]
fn get_child_min_age(&self) -> &[ChildMinAgeProperty]
Get https://schema.org/childMinAge from Self
as borrowed slice.
sourcefn take_child_min_age(&mut self) -> Vec<ChildMinAgeProperty>
fn take_child_min_age(&mut self) -> Vec<ChildMinAgeProperty>
Take https://schema.org/childMinAge from Self
as owned vector.