pub fn scheduled_event_description(
description: impl AsRef<str>,
) -> Result<(), ValidationError>Expand description
Ensure that a scheduled event’s description is correct.
The length must be at least SCHEDULED_EVENT_DESCRIPTION_MIN and at most
SCHEDULED_EVENT_DESCRIPTION_MAX. This is based on
this documentation entry.
§Errors
Returns an error of type ScheduledEventDescription if the length is
invalid.