fn to_action()

in issue-bot/src/routes.rs [65:72]


    fn to_action(&self) -> Action {
        match self {
            Self::Opened => Action::Created,
            Self::Edited => Action::Edited,
            Self::Deleted => Action::Deleted,
            Self::Ignored => unreachable!("IssueActionType::to_action called with Ignored"),
        }
    }