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§

source

fn get_availability_ends(&self) -> &[AvailabilityEndsProperty]

Get https://schema.org/availabilityEnds from Self as borrowed slice.

source

fn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>

Take https://schema.org/availabilityEnds from Self as owned vector.

source

fn get_availability_starts(&self) -> &[AvailabilityStartsProperty]

Get https://schema.org/availabilityStarts from Self as borrowed slice.

source

fn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>

Take https://schema.org/availabilityStarts from Self as owned vector.

source

fn get_category(&self) -> &[CategoryProperty]

Get https://schema.org/category from Self as borrowed slice.

source

fn take_category(&mut self) -> Vec<CategoryProperty>

Take https://schema.org/category from Self as owned vector.

source

fn get_eligible_region(&self) -> &[EligibleRegionProperty]

Get https://schema.org/eligibleRegion from Self as borrowed slice.

source

fn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>

Take https://schema.org/eligibleRegion from Self as owned vector.

source

fn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty]

Get https://schema.org/expectsAcceptanceOf from Self as borrowed slice.

source

fn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>

Take https://schema.org/expectsAcceptanceOf from Self as owned vector.

source

fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]

Get https://schema.org/ineligibleRegion from Self as borrowed slice.

source

fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>

Take https://schema.org/ineligibleRegion from Self as owned vector.

source

fn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty]

Get https://schema.org/requiresSubscription from Self as borrowed slice.

source

fn take_requires_subscription(&mut self) -> Vec<RequiresSubscriptionProperty>

Take https://schema.org/requiresSubscription from Self as owned vector.

Implementors§