MCPcopy Create free account
hub / github.com/bajrangCoder/setu / as_str

Method as_str

src/components/auth_editor.rs:25–32  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23 Bearer,
24 ApiKey,
25}
26
27impl AuthType {
28 pub fn as_str(&self) -> &'static str {
29 match self {
30 AuthType::None => "No Auth",
31 AuthType::Basic => "Basic Auth",
32 AuthType::Bearer => "Bearer Token",
33 AuthType::ApiKey => "API Key",
34 }
35 }

Callers 6

on_key_downMethod · 0.45
renderMethod · 0.45
into_elementMethod · 0.45
render_history_itemMethod · 0.45
titleMethod · 0.45
render_request_rowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected