Trait schema_org_types::SeekToActionTrait
source · pub trait SeekToActionTrait {
// Required methods
fn get_start_offset(&self) -> &[StartOffsetProperty];
fn take_start_offset(&mut self) -> Vec<StartOffsetProperty>;
}
Expand description
This trait is for properties from https://schema.org/SeekToAction.
Required Methods§
sourcefn get_start_offset(&self) -> &[StartOffsetProperty]
fn get_start_offset(&self) -> &[StartOffsetProperty]
Get https://schema.org/startOffset from Self
as borrowed slice.
sourcefn take_start_offset(&mut self) -> Vec<StartOffsetProperty>
fn take_start_offset(&mut self) -> Vec<StartOffsetProperty>
Take https://schema.org/startOffset from Self
as owned vector.