Trait schema_org_types::DatasetTrait
source · pub trait DatasetTrait {
Show 20 methods
// Required methods
fn get_catalog(&self) -> &[CatalogProperty];
fn take_catalog(&mut self) -> Vec<CatalogProperty>;
fn get_dataset_time_interval(&self) -> &[DatasetTimeIntervalProperty];
fn take_dataset_time_interval(&mut self) -> Vec<DatasetTimeIntervalProperty>;
fn get_distribution(&self) -> &[DistributionProperty];
fn take_distribution(&mut self) -> Vec<DistributionProperty>;
fn get_included_data_catalog(&self) -> &[IncludedDataCatalogProperty];
fn take_included_data_catalog(&mut self) -> Vec<IncludedDataCatalogProperty>;
fn get_included_in_data_catalog(&self) -> &[IncludedInDataCatalogProperty];
fn take_included_in_data_catalog(
&mut self
) -> Vec<IncludedInDataCatalogProperty>;
fn get_issn(&self) -> &[IssnProperty];
fn take_issn(&mut self) -> Vec<IssnProperty>;
fn get_measurement_method(&self) -> &[MeasurementMethodProperty];
fn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>;
fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty];
fn take_measurement_technique(
&mut self
) -> Vec<MeasurementTechniqueProperty>;
fn get_variable_measured(&self) -> &[VariableMeasuredProperty];
fn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>;
fn get_variables_measured(&self) -> &[VariablesMeasuredProperty];
fn take_variables_measured(&mut self) -> Vec<VariablesMeasuredProperty>;
}
Expand description
This trait is for properties from https://schema.org/Dataset.
Required Methods§
sourcefn get_catalog(&self) -> &[CatalogProperty]
fn get_catalog(&self) -> &[CatalogProperty]
Get https://schema.org/catalog from Self
as borrowed slice.
sourcefn take_catalog(&mut self) -> Vec<CatalogProperty>
fn take_catalog(&mut self) -> Vec<CatalogProperty>
Take https://schema.org/catalog from Self
as owned vector.
sourcefn get_dataset_time_interval(&self) -> &[DatasetTimeIntervalProperty]
fn get_dataset_time_interval(&self) -> &[DatasetTimeIntervalProperty]
Get https://schema.org/datasetTimeInterval from Self
as borrowed slice.
sourcefn take_dataset_time_interval(&mut self) -> Vec<DatasetTimeIntervalProperty>
fn take_dataset_time_interval(&mut self) -> Vec<DatasetTimeIntervalProperty>
Take https://schema.org/datasetTimeInterval from Self
as owned vector.
sourcefn get_distribution(&self) -> &[DistributionProperty]
fn get_distribution(&self) -> &[DistributionProperty]
Get https://schema.org/distribution from Self
as borrowed slice.
sourcefn take_distribution(&mut self) -> Vec<DistributionProperty>
fn take_distribution(&mut self) -> Vec<DistributionProperty>
Take https://schema.org/distribution from Self
as owned vector.
sourcefn get_included_data_catalog(&self) -> &[IncludedDataCatalogProperty]
fn get_included_data_catalog(&self) -> &[IncludedDataCatalogProperty]
Get https://schema.org/includedDataCatalog from Self
as borrowed slice.
sourcefn take_included_data_catalog(&mut self) -> Vec<IncludedDataCatalogProperty>
fn take_included_data_catalog(&mut self) -> Vec<IncludedDataCatalogProperty>
Take https://schema.org/includedDataCatalog from Self
as owned vector.
sourcefn get_included_in_data_catalog(&self) -> &[IncludedInDataCatalogProperty]
fn get_included_in_data_catalog(&self) -> &[IncludedInDataCatalogProperty]
Get https://schema.org/includedInDataCatalog from Self
as borrowed slice.
sourcefn take_included_in_data_catalog(
&mut self
) -> Vec<IncludedInDataCatalogProperty>
fn take_included_in_data_catalog( &mut self ) -> Vec<IncludedInDataCatalogProperty>
Take https://schema.org/includedInDataCatalog from Self
as owned vector.
sourcefn get_issn(&self) -> &[IssnProperty]
fn get_issn(&self) -> &[IssnProperty]
Get https://schema.org/issn from Self
as borrowed slice.
sourcefn take_issn(&mut self) -> Vec<IssnProperty>
fn take_issn(&mut self) -> Vec<IssnProperty>
Take https://schema.org/issn from Self
as owned vector.
sourcefn get_measurement_method(&self) -> &[MeasurementMethodProperty]
fn get_measurement_method(&self) -> &[MeasurementMethodProperty]
Get https://schema.org/measurementMethod from Self
as borrowed slice.
sourcefn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>
fn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>
Take https://schema.org/measurementMethod from Self
as owned vector.
sourcefn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
Get https://schema.org/measurementTechnique from Self
as borrowed slice.
sourcefn take_measurement_technique(&mut self) -> Vec<MeasurementTechniqueProperty>
fn take_measurement_technique(&mut self) -> Vec<MeasurementTechniqueProperty>
Take https://schema.org/measurementTechnique from Self
as owned vector.
sourcefn get_variable_measured(&self) -> &[VariableMeasuredProperty]
fn get_variable_measured(&self) -> &[VariableMeasuredProperty]
Get https://schema.org/variableMeasured from Self
as borrowed slice.
sourcefn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>
fn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>
Take https://schema.org/variableMeasured from Self
as owned vector.
sourcefn get_variables_measured(&self) -> &[VariablesMeasuredProperty]
fn get_variables_measured(&self) -> &[VariablesMeasuredProperty]
Get https://schema.org/variablesMeasured from Self
as borrowed slice.
sourcefn take_variables_measured(&mut self) -> Vec<VariablesMeasuredProperty>
fn take_variables_measured(&mut self) -> Vec<VariablesMeasuredProperty>
Take https://schema.org/variablesMeasured from Self
as owned vector.