Skip to main content

ical/prop/
refid.rs

1//! # REFID
2//!
3//! The `REFID` property: the reference identifier a group of related components
4//! shares (RFC 9253 6.2).
5
6use crate::{
7    prop::{IcalPropKind, spec::IcalPropSpec},
8    version::IcalVersion,
9};
10
11/// The `REFID` property marker.
12pub struct REFID;
13
14impl IcalPropSpec for REFID {
15    const KIND: IcalPropKind = IcalPropKind::Refid;
16
17    fn allowed_versions() -> &'static [IcalVersion] {
18        &[IcalVersion::V2_0]
19    }
20}