Skip to main content

ical/prop/
dalarm.rs

1//! # DALARM
2//!
3//! The `DALARM` property: the display alarm a vCalendar 1.0 component carries,
4//! kept as raw text (vCalendar 1.0).
5
6use crate::{
7    prop::{IcalPropKind, spec::IcalPropSpec},
8    version::IcalVersion,
9};
10
11/// The `DALARM` property marker.
12pub struct DALARM;
13
14impl IcalPropSpec for DALARM {
15    const KIND: IcalPropKind = IcalPropKind::DAlarm;
16
17    fn allowed_versions() -> &'static [IcalVersion] {
18        &[IcalVersion::V1_0]
19    }
20}