railwayapp 3.4.0

Interact with Railway via CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::commands::queries::project::PluginType;

impl ToString for PluginType {
    fn to_string(&self) -> String {
        match self {
            PluginType::postgresql => "PostgreSQL".to_owned(),
            PluginType::mysql => "MySQL".to_owned(),
            PluginType::redis => "Redis".to_owned(),
            PluginType::mongodb => "MongoDB".to_owned(),
            PluginType::Other(other) => other.to_owned(),
        }
    }
}