MCPcopy Create free account
hub / github.com/devashishdxt/cli-table / main

Function main

cli-table/examples/struct.rs:25–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25fn main() -> Result<()> {
26 let users = vec![
27 User {
28 id: 1,
29 first_name: "Scooby",
30 last_name: "Doo".to_string(),
31 },
32 User {
33 id: 2,
34 first_name: "John",
35 last_name: "Cena".to_string(),
36 },
37 ];
38
39 print_stdout(users.with_title())
40}

Callers

nothing calls this directly

Calls 2

print_stdoutFunction · 0.85
with_titleMethod · 0.80

Tested by

no test coverage detected