Struct ::exo::ics::IcsCalendar

Overview

A IcsEvent which leads to a calendar entry.

Methods

fn new() -> IcsCalendar

Create a new IcsCalendar.

Example

let calendar = exo::ics::IcsCalendar::new();
calendar.events = [exo::ics::IcsEvent::new()];

Return the IcsCalendar as .ics compatible string.

Example

let calendar = exo::ics::IcsCalendar::new();
calendar.events = [exo::ics::IcsEvent::new()];
assert!(calendar.to_string() is String);

Protocols

protocol get events
let output = value.events

Allows a get operation to work.

protocol set events
value.events = input

Allows a set operation to work.

protocol partial_eq
if value == b { }

Allows for partial equality operations to work.

protocol string_debug
println("{:?}", value)

Allows the value to be debug printed.

protocol string_display
println("{}", value)

Allows the value to be display printed.