fn to_action()

in issue-bot/src/routes.rs [235:241]


    fn to_action(&self) -> Action {
        match self {
            Self::Create => Action::Created,
            Self::Update => Action::Edited,
            Self::Delete => Action::Deleted,
        }
    }