SwiftstructSiriNotebook

struct SiriNotebook.Snippet.ReminderSearchResult.Section

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldvar content: SiriNotebook.Snippet.ReminderSearchResult.Section.Content
  2. fieldvar heading: SiriNotebook.Snippet.SectionHeading?
  3. initinit(heading: SiriNotebook.Snippet.SectionHeading?, subSections: [SiriNotebook.Snippet.ReminderSearchResult.Section]) -> SiriNotebook.Snippet.ReminderSearchResult.Section
  4. initinit(heading: SiriNotebook.Snippet.SectionHeading?, content: SiriNotebook.Snippet.ReminderSearchResult.Section.Content) -> SiriNotebook.Snippet.ReminderSearchResult.Section
  5. initinit(heading: SiriNotebook.Snippet.SectionHeading?, reminders: [SiriNotebook.Snippet.Reminder]) -> SiriNotebook.Snippet.ReminderSearchResult.Section
  6. varvar isEmpty: Bool { get }
  7. varvar isNotEmpty: Bool { get }
  8. varvar reminders: [SiriNotebook.Snippet.Reminder] { get }
struct SiriNotebook.Snippet.ReminderSearchResult.Section {
    enum Content {
        enum CodingKeys {
            case reminders
            case subSections
        }
        enum RemindersCodingKeys {
            case _0
        }
        enum SubSectionsCodingKeys {
            case _0
        }
        case reminders([SiriNotebook.Snippet.Reminder])
        case subSections([SiriNotebook.Snippet.ReminderSearchResult.Section])
    }
    enum CodingKeys {
        case heading
        case content
    }
    var heading: SiriNotebook.Snippet.SectionHeading?
    var content: SiriNotebook.Snippet.ReminderSearchResult.Section.Content

    init(heading: SiriNotebook.Snippet.SectionHeading?, subSections: [SiriNotebook.Snippet.ReminderSearchResult.Section])
    init(heading: SiriNotebook.Snippet.SectionHeading?, content: SiriNotebook.Snippet.ReminderSearchResult.Section.Content)
    init(heading: SiriNotebook.Snippet.SectionHeading?, reminders: [SiriNotebook.Snippet.Reminder])

    var isEmpty: Swift.Bool {
        get
    }
    var isNotEmpty: Swift.Bool {
        get
    }
    var reminders: [SiriNotebook.Snippet.Reminder] {
        get
    }
}