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