// This file is @generated by prost-build.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct HelpPageLinkRequest {
    #[prost(enumeration = "help_page_link_request::HelpPage", tag = "1")]
    pub page: i32,
}
/// Nested message and enum types in `HelpPageLinkRequest`.
pub mod help_page_link_request {
    #[derive(strum::EnumIter)]
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    #[must_use]
pub enum HelpPage {
        NoteType = 0,
        Browsing = 1,
        BrowsingFindAndReplace = 2,
        BrowsingNotesMenu = 3,
        KeyboardShortcuts = 4,
        Editing = 5,
        AddingCardAndNote = 6,
        AddingANoteType = 7,
        Latex = 8,
        Preferences = 9,
        Index = 10,
        Templates = 11,
        FilteredDeck = 12,
        Importing = 13,
        CustomizingFields = 14,
        DeckOptions = 15,
        EditingFeatures = 16,
        FullScreenIssue = 17,
        CardTypeDuplicate = 18,
        CardTypeNoFrontField = 19,
        CardTypeMissingCloze = 20,
        Troubleshooting = 21,
        CardTypeTemplateError = 22,
    }
    impl HelpPage {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::NoteType => "NOTE_TYPE",
                Self::Browsing => "BROWSING",
                Self::BrowsingFindAndReplace => "BROWSING_FIND_AND_REPLACE",
                Self::BrowsingNotesMenu => "BROWSING_NOTES_MENU",
                Self::KeyboardShortcuts => "KEYBOARD_SHORTCUTS",
                Self::Editing => "EDITING",
                Self::AddingCardAndNote => "ADDING_CARD_AND_NOTE",
                Self::AddingANoteType => "ADDING_A_NOTE_TYPE",
                Self::Latex => "LATEX",
                Self::Preferences => "PREFERENCES",
                Self::Index => "INDEX",
                Self::Templates => "TEMPLATES",
                Self::FilteredDeck => "FILTERED_DECK",
                Self::Importing => "IMPORTING",
                Self::CustomizingFields => "CUSTOMIZING_FIELDS",
                Self::DeckOptions => "DECK_OPTIONS",
                Self::EditingFeatures => "EDITING_FEATURES",
                Self::FullScreenIssue => "FULL_SCREEN_ISSUE",
                Self::CardTypeDuplicate => "CARD_TYPE_DUPLICATE",
                Self::CardTypeNoFrontField => "CARD_TYPE_NO_FRONT_FIELD",
                Self::CardTypeMissingCloze => "CARD_TYPE_MISSING_CLOZE",
                Self::Troubleshooting => "TROUBLESHOOTING",
                Self::CardTypeTemplateError => "CARD_TYPE_TEMPLATE_ERROR",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "NOTE_TYPE" => Some(Self::NoteType),
                "BROWSING" => Some(Self::Browsing),
                "BROWSING_FIND_AND_REPLACE" => Some(Self::BrowsingFindAndReplace),
                "BROWSING_NOTES_MENU" => Some(Self::BrowsingNotesMenu),
                "KEYBOARD_SHORTCUTS" => Some(Self::KeyboardShortcuts),
                "EDITING" => Some(Self::Editing),
                "ADDING_CARD_AND_NOTE" => Some(Self::AddingCardAndNote),
                "ADDING_A_NOTE_TYPE" => Some(Self::AddingANoteType),
                "LATEX" => Some(Self::Latex),
                "PREFERENCES" => Some(Self::Preferences),
                "INDEX" => Some(Self::Index),
                "TEMPLATES" => Some(Self::Templates),
                "FILTERED_DECK" => Some(Self::FilteredDeck),
                "IMPORTING" => Some(Self::Importing),
                "CUSTOMIZING_FIELDS" => Some(Self::CustomizingFields),
                "DECK_OPTIONS" => Some(Self::DeckOptions),
                "EDITING_FEATURES" => Some(Self::EditingFeatures),
                "FULL_SCREEN_ISSUE" => Some(Self::FullScreenIssue),
                "CARD_TYPE_DUPLICATE" => Some(Self::CardTypeDuplicate),
                "CARD_TYPE_NO_FRONT_FIELD" => Some(Self::CardTypeNoFrontField),
                "CARD_TYPE_MISSING_CLOZE" => Some(Self::CardTypeMissingCloze),
                "TROUBLESHOOTING" => Some(Self::Troubleshooting),
                "CARD_TYPE_TEMPLATE_ERROR" => Some(Self::CardTypeTemplateError),
                _ => None,
            }
        }
    }
}
