MCPcopy Create free account
hub / github.com/ex0dus-0x/structmap / String

Method String

src/value.rs:80–86  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

78
79 #[allow(non_snake_case)]
80 pub fn String(&self) -> Option<String> {
81 if let Value::String(string) = self {
82 Some(string.to_string())
83 } else {
84 None
85 }
86 }
87}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected