MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / to_string

Method to_string

api-server/src/models.rs:31–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

29/// Should be implemented in a serde serializer
30impl std::string::ToString for BadRequestResponse {
31 fn to_string(&self) -> String {
32 let params: Vec<Option<String>> =
33 vec![Some("message".to_string()), Some(self.message.to_string())];
34
35 params.into_iter().flatten().collect::<Vec<_>>().join(",")
36 }
37}
38
39/// Converts Query Parameters representation (style=form, explode=false) to a BadRequestResponse value

Callers 15

pragma_valueMethod · 0.45
connectMethod · 0.45
on_swarm_eventMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
from_strMethod · 0.45
service_status_newFunction · 0.45
client_status_defaultFunction · 0.45
status_table_newFunction · 0.45
defaultMethod · 0.45
serializeMethod · 0.45

Calls 1

into_iterMethod · 0.80

Tested by 15

service_status_newFunction · 0.36
client_status_defaultFunction · 0.36
status_table_newFunction · 0.36
blessingFunction · 0.36
test_serializeFunction · 0.36
test_deserializeFunction · 0.36
cidFunction · 0.36
no_cidFunction · 0.36
debugFunction · 0.36
test_swap_cidFunction · 0.36
thingFunction · 0.36