pub trait InteractionCounterTrait {
    // Required methods
    fn get_end_time(&self) -> &[EndTimeProperty];
    fn take_end_time(&mut self) -> Vec<EndTimeProperty>;
    fn get_interaction_service(&self) -> &[InteractionServiceProperty];
    fn take_interaction_service(&mut self) -> Vec<InteractionServiceProperty>;
    fn get_interaction_type(&self) -> &[InteractionTypeProperty];
    fn take_interaction_type(&mut self) -> Vec<InteractionTypeProperty>;
    fn get_location(&self) -> &[LocationProperty];
    fn take_location(&mut self) -> Vec<LocationProperty>;
    fn get_start_time(&self) -> &[StartTimeProperty];
    fn take_start_time(&mut self) -> Vec<StartTimeProperty>;
    fn get_user_interaction_count(&self) -> &[UserInteractionCountProperty];
    fn take_user_interaction_count(
        &mut self
    ) -> Vec<UserInteractionCountProperty>;
}
Expand description

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

Required Methods§

source

fn get_end_time(&self) -> &[EndTimeProperty]

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

source

fn take_end_time(&mut self) -> Vec<EndTimeProperty>

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

source

fn get_interaction_service(&self) -> &[InteractionServiceProperty]

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

source

fn take_interaction_service(&mut self) -> Vec<InteractionServiceProperty>

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

source

fn get_interaction_type(&self) -> &[InteractionTypeProperty]

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

source

fn take_interaction_type(&mut self) -> Vec<InteractionTypeProperty>

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

source

fn get_location(&self) -> &[LocationProperty]

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

source

fn take_location(&mut self) -> Vec<LocationProperty>

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

source

fn get_start_time(&self) -> &[StartTimeProperty]

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

source

fn take_start_time(&mut self) -> Vec<StartTimeProperty>

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

source

fn get_user_interaction_count(&self) -> &[UserInteractionCountProperty]

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

source

fn take_user_interaction_count(&mut self) -> Vec<UserInteractionCountProperty>

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

Implementors§