ical/prop/comment.rs
1//! # COMMENT
2//!
3//! The `COMMENT` property: a comment on the component (RFC 5545 3.8.1.4).
4
5use crate::{
6 prop::{IcalPropKind, spec::IcalPropSpec},
7 version::IcalVersion,
8};
9
10/// The `COMMENT` property marker.
11pub struct COMMENT;
12
13impl IcalPropSpec for COMMENT {
14 const KIND: IcalPropKind = IcalPropKind::Comment;
15
16 fn allowed_versions() -> &'static [IcalVersion] {
17 &[IcalVersion::V2_0]
18 }
19}