Struct icalendar::Event

source ·
pub struct Event { /* private fields */ }
Expand description

Implementations§

Creates a new Event.

End of builder pattern. copies over everything

Defines the overall status or confirmation

Gets the overall status or confirmation.

Trait Implementations§

Tells you what kind of Component this is

Might be VEVENT, VTODO, VALARM etc

Read-only access to properties

Read-only access to properties

Read-only access to multi_properties

Adds a Property

Adds a Property of which there may be many

Append a given Component
Gets the value of a property.
Writes Component using std::fmt.
Serializes this component into rfc5545 again Read more
Serializes this component into rfc5545 again
Construct and append a Property
Construct and append a Property
Construct and append a Property
Gets the DTSTAMP property.
Gets the DTSTART Property
Gets the DTEND Property
Defines the relative priority. Read more
Gets the relative priority. Read more
Prints to stdout
Set the summary
Gets the summary
Set the description
Gets the description
Set the UID
Gets the UID
Set the sequence
Gets the SEQUENCE
Set the visibility class
Gets the visibility class
Sets the URL.
Gets the URL.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Set the DTSTART Property and DTEND Property, date only
Set the LOCATION with a VVENUE UID iCalender venue draft
Set the LOCATION 3.8.1.7. Location
Gets the location
Set the ALARM for this event 3.6.6. Alarm Component
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.