ical/component/vfreebusy.rs
1//! # VFREEBUSY
2//!
3//! The `VFREEBUSY` component: a free/busy reply or publication (RFC 5545
4//! 3.6.4).
5
6use crate::{
7 component::{IcalComponentKind, spec::IcalComponentSpec},
8 prop::IcalPropKind,
9};
10
11/// The `VFREEBUSY` component marker.
12pub struct VFREEBUSY;
13
14impl IcalComponentSpec for VFREEBUSY {
15 const KIND: IcalComponentKind = IcalComponentKind::VFreeBusy;
16
17 fn required_props() -> &'static [IcalPropKind] {
18 &[IcalPropKind::Uid, IcalPropKind::DtStamp]
19 }
20}