MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / as_str

Method as_str

aiscript-runtime/src/ast/mod.rs:14–21  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

12
13impl HttpMethod {
14 pub fn as_str(&self) -> &'static str {
15 match self {
16 HttpMethod::Get => "GET",
17 HttpMethod::Post => "POST",
18 HttpMethod::Put => "PUT",
19 HttpMethod::Delete => "DELETE",
20 }
21 }
22}
23
24#[derive(Debug, Clone)]

Callers 6

validate_fieldMethod · 0.45
get_requestMethod · 0.45
get_headerMethod · 0.45
pollMethod · 0.45
parse_endpointMethod · 0.45
create_operationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected