summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-12-20 11:22:47 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-20 11:22:47 +0100
commit908033c6260dc9d9518e2641aca4f5ead49f6d61 (patch)
treec8e7a9d7403e05462ea9e44437b919ad38feec06
parent0505704787744e6e425d553ae00d0a2a8cc6277b (diff)
Add description of IcalProperty type
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/property.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/property.rs b/src/property.rs
index 55b5914..63e7540 100644
--- a/src/property.rs
+++ b/src/property.rs
@@ -5,6 +5,9 @@ use std::fmt;
use super::component::IcalComponent;
use crate::ical;
+/// A property in the ical data
+///
+/// This type represents a single property (name + value).
pub struct IcalProperty<'a> {
pub ptr: *mut ical::icalproperty,
_parent: &'a dyn IcalComponent,