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