Skip to main content

ical/prop/
malarm.rs

1//! # MALARM
2//!
3//! The `MALARM` property: the mail 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 `MALARM` property marker.
12pub struct MALARM;
13
14impl IcalPropSpec for MALARM {
15    const KIND: IcalPropKind = IcalPropKind::MAlarm;
16
17    fn allowed_versions() -> &'static [IcalVersion] {
18        &[IcalVersion::V1_0]
19    }
20}