ical/prop/structured_data.rs
1//! # STRUCTURED-DATA
2//!
3//! The `STRUCTURED-DATA` property: machine-readable data about the component,
4//! inline or by URI (RFC 9073 6.6).
5
6use crate::{
7 prop::{IcalPropKind, spec::IcalPropSpec},
8 version::IcalVersion,
9};
10
11/// The `STRUCTURED-DATA` property marker.
12#[allow(non_camel_case_types)]
13pub struct STRUCTURED_DATA;
14
15impl IcalPropSpec for STRUCTURED_DATA {
16 const KIND: IcalPropKind = IcalPropKind::StructuredData;
17
18 fn allowed_versions() -> &'static [IcalVersion] {
19 &[IcalVersion::V2_0]
20 }
21}