MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / to_string

Method to_string

src/mz/src/command/profile.rs:255–263  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

253
254impl ToString for ConfigArg {
255 fn to_string(&self) -> String {
256 match self {
257 ConfigArg::AdminAPI => "admin-api".to_string(),
258 ConfigArg::AppPassword => "app-password".to_string(),
259 ConfigArg::CloudAPI => "cloud-api".to_string(),
260 ConfigArg::Region => "region".to_string(),
261 ConfigArg::Vault => "vault".to_string(),
262 }
263 }
264}
265
266/// Shows the value of a profile configuration field.

Callers 6

createFunction · 0.45
initFunction · 0.45
removeFunction · 0.45
from_strMethod · 0.45
createFunction · 0.45
enableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected