schema_org_traits/schemas/classes/
wearable_measurement_collar.rs

1/// <https://schema.org/WearableMeasurementCollar>
2pub trait FindWearableMeasurementCollarIds {
3	type IdType;
4	/// <https://schema.org/WearableMeasurementCollar>
5	fn find_wearable_measurement_collar_ids(&self) -> Vec<&Self::IdType>;
6}
7#[cfg(any(feature = "json-ld_0_15", doc))]
8mod json_ld_0_15 {
9	use schema_org_constants::SchemaOrgNamespace;
10	impl super::FindWearableMeasurementCollarIds for crate::json_ld_0_15::JsonLdStore {
11		type IdType = json_ld_0_15::ValidId;
12		fn find_wearable_measurement_collar_ids(&self) -> Vec<&Self::IdType> {
13			self.find_schema(match self.namespace() {
14				SchemaOrgNamespace::Http => {
15					schema_org_constants::WEARABLE_MEASUREMENT_COLLAR_IRI_HTTP
16				}
17				SchemaOrgNamespace::Https => {
18					schema_org_constants::WEARABLE_MEASUREMENT_COLLAR_IRI_HTTPS
19				}
20			})
21		}
22	}
23}
24#[cfg(any(feature = "json-ld_0_16", doc))]
25mod json_ld_0_16 {
26	use schema_org_constants::SchemaOrgNamespace;
27	impl super::FindWearableMeasurementCollarIds for crate::json_ld_0_16::JsonLdStore {
28		type IdType = json_ld_0_16::ValidId;
29		fn find_wearable_measurement_collar_ids(&self) -> Vec<&Self::IdType> {
30			self.find_schema(match self.namespace() {
31				SchemaOrgNamespace::Http => {
32					schema_org_constants::WEARABLE_MEASUREMENT_COLLAR_IRI_HTTP
33				}
34				SchemaOrgNamespace::Https => {
35					schema_org_constants::WEARABLE_MEASUREMENT_COLLAR_IRI_HTTPS
36				}
37			})
38		}
39	}
40}