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§
sourcefn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from Self
as borrowed slice.
sourcefn take_end_time(&mut self) -> Vec<EndTimeProperty>
fn take_end_time(&mut self) -> Vec<EndTimeProperty>
Take https://schema.org/endTime from Self
as owned vector.
sourcefn get_interaction_service(&self) -> &[InteractionServiceProperty]
fn get_interaction_service(&self) -> &[InteractionServiceProperty]
Get https://schema.org/interactionService from Self
as borrowed slice.
sourcefn take_interaction_service(&mut self) -> Vec<InteractionServiceProperty>
fn take_interaction_service(&mut self) -> Vec<InteractionServiceProperty>
Take https://schema.org/interactionService from Self
as owned vector.
sourcefn get_interaction_type(&self) -> &[InteractionTypeProperty]
fn get_interaction_type(&self) -> &[InteractionTypeProperty]
Get https://schema.org/interactionType from Self
as borrowed slice.
sourcefn take_interaction_type(&mut self) -> Vec<InteractionTypeProperty>
fn take_interaction_type(&mut self) -> Vec<InteractionTypeProperty>
Take https://schema.org/interactionType from Self
as owned vector.
sourcefn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from Self
as borrowed slice.
sourcefn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from Self
as owned vector.
sourcefn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from Self
as borrowed slice.
sourcefn take_start_time(&mut self) -> Vec<StartTimeProperty>
fn take_start_time(&mut self) -> Vec<StartTimeProperty>
Take https://schema.org/startTime from Self
as owned vector.
sourcefn get_user_interaction_count(&self) -> &[UserInteractionCountProperty]
fn get_user_interaction_count(&self) -> &[UserInteractionCountProperty]
Get https://schema.org/userInteractionCount from Self
as borrowed slice.
sourcefn take_user_interaction_count(&mut self) -> Vec<UserInteractionCountProperty>
fn take_user_interaction_count(&mut self) -> Vec<UserInteractionCountProperty>
Take https://schema.org/userInteractionCount from Self
as owned vector.