MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-for-Blockchain-Application-Development / Node

Class Node

chapter 4/node.rs:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Clone)]
5pub struct Node {
6 addr: String,
7}
8
9impl Node {
10 fn new(addr: String) -> Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected