MCPcopy Create free account
hub / github.com/Rustixir/darkbird / new

Method new

example/Version-3.5.0 ( Fulltext Search )/example.rs:59–64  ·  view source on GitHub ↗
(fullname: &str)

Source from the content-addressed store, hash-verified

57
58impl User {
59 pub fn new(fullname: &str) -> Self {
60 User {
61 fullname: fullname.to_owned(),
62 desc: "Rust is amazing".to_owned()
63 }
64 }
65}
66
67impl document::Document for User {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected