pub trait ActionAccessSpecificationTrait {
Show 14 methods
// Required methods
fn get_availability_ends(&self) -> &[AvailabilityEndsProperty];
fn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>;
fn get_availability_starts(&self) -> &[AvailabilityStartsProperty];
fn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>;
fn get_category(&self) -> &[CategoryProperty];
fn take_category(&mut self) -> Vec<CategoryProperty>;
fn get_eligible_region(&self) -> &[EligibleRegionProperty];
fn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>;
fn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty];
fn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>;
fn get_ineligible_region(&self) -> &[IneligibleRegionProperty];
fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>;
fn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty];
fn take_requires_subscription(
&mut self
) -> Vec<RequiresSubscriptionProperty>;
}
Expand description
This trait is for properties from https://schema.org/ActionAccessSpecification.
Required Methods§
sourcefn get_availability_ends(&self) -> &[AvailabilityEndsProperty]
fn get_availability_ends(&self) -> &[AvailabilityEndsProperty]
Get https://schema.org/availabilityEnds from Self
as borrowed slice.
sourcefn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>
fn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>
Take https://schema.org/availabilityEnds from Self
as owned vector.
sourcefn get_availability_starts(&self) -> &[AvailabilityStartsProperty]
fn get_availability_starts(&self) -> &[AvailabilityStartsProperty]
Get https://schema.org/availabilityStarts from Self
as borrowed slice.
sourcefn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>
fn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>
Take https://schema.org/availabilityStarts from Self
as owned vector.
sourcefn get_category(&self) -> &[CategoryProperty]
fn get_category(&self) -> &[CategoryProperty]
Get https://schema.org/category from Self
as borrowed slice.
sourcefn take_category(&mut self) -> Vec<CategoryProperty>
fn take_category(&mut self) -> Vec<CategoryProperty>
Take https://schema.org/category from Self
as owned vector.
sourcefn get_eligible_region(&self) -> &[EligibleRegionProperty]
fn get_eligible_region(&self) -> &[EligibleRegionProperty]
Get https://schema.org/eligibleRegion from Self
as borrowed slice.
sourcefn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>
fn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>
Take https://schema.org/eligibleRegion from Self
as owned vector.
sourcefn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty]
fn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty]
Get https://schema.org/expectsAcceptanceOf from Self
as borrowed slice.
sourcefn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>
fn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>
Take https://schema.org/expectsAcceptanceOf from Self
as owned vector.
sourcefn get_ineligible_region(&self) -> &[IneligibleRegionProperty]
fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]
Get https://schema.org/ineligibleRegion from Self
as borrowed slice.
sourcefn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>
fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>
Take https://schema.org/ineligibleRegion from Self
as owned vector.
sourcefn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty]
fn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty]
Get https://schema.org/requiresSubscription from Self
as borrowed slice.
sourcefn take_requires_subscription(&mut self) -> Vec<RequiresSubscriptionProperty>
fn take_requires_subscription(&mut self) -> Vec<RequiresSubscriptionProperty>
Take https://schema.org/requiresSubscription from Self
as owned vector.