(&self)
| 1032 | |
| 1033 | impl CreateConnectionType { |
| 1034 | pub fn as_str(&self) -> &'static str { |
| 1035 | match self { |
| 1036 | Self::Kafka => "kafka", |
| 1037 | Self::Csr => "confluent-schema-registry", |
| 1038 | Self::Postgres => "postgres", |
| 1039 | Self::Aws => "aws", |
| 1040 | Self::AwsPrivatelink => "aws-privatelink", |
| 1041 | Self::GlueSchemaRegistry => "glue-schema-registry", |
| 1042 | Self::Gcp => "gcp", |
| 1043 | Self::Ssh => "ssh-tunnel", |
| 1044 | Self::MySql => "mysql", |
| 1045 | Self::SqlServer => "sql-server", |
| 1046 | Self::IcebergCatalog => "iceberg-catalog", |
| 1047 | } |
| 1048 | } |
| 1049 | } |
| 1050 | |
| 1051 | impl AstDisplay for CreateConnectionType { |
no outgoing calls