grom/guild/scheduled_event/recurrence_rule

Types

pub type Create {
  Create(
    start: timestamp.Timestamp,
    frequency: Frequency,
    interval: Int,
    by_weekday: option.Option(List(Weekday)),
    by_n_weekday: option.Option(List(NWeekday)),
    by_month: option.Option(List(Month)),
    by_month_day: option.Option(List(Int)),
  )
}

Constructors

pub type Frequency {
  Yearly
  Monthly
  Weekly
  Daily
}

Constructors

  • Yearly
  • Monthly
  • Weekly
  • Daily
pub type Month {
  January
  February
  March
  April
  May
  June
  July
  August
  September
  October
  November
  December
}

Constructors

  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December
pub type NWeekday {
  NWeekday(n: Int, day: Weekday)
}

Constructors

pub type RecurrenceRule {
  RecurrenceRule(
    start: timestamp.Timestamp,
    end: option.Option(timestamp.Timestamp),
    frequency: Frequency,
    interval: Int,
    by_weekday: option.Option(List(Weekday)),
    by_n_weekday: option.Option(List(NWeekday)),
    by_month: option.Option(List(Month)),
    by_month_day: option.Option(List(Int)),
    by_year_day: option.Option(List(Int)),
    count: option.Option(Int),
  )
}

Constructors

pub type Weekday {
  Monday
  Tuesday
  Wednesday
  Thursday
  Friday
  Saturday
  Sunday
}

Constructors

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
Search Document