ical/prop/name.rs
1//! # NAME
2//!
3//! The `NAME` property: the display name of the calendar (RFC 7986 5.1).
4
5use crate::{
6 prop::{IcalPropKind, spec::IcalPropSpec},
7 version::IcalVersion,
8};
9
10/// The `NAME` property marker.
11pub struct NAME;
12
13impl IcalPropSpec for NAME {
14 const KIND: IcalPropKind = IcalPropKind::Name;
15
16 fn allowed_versions() -> &'static [IcalVersion] {
17 &[IcalVersion::V2_0]
18 }
19}