MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / Channel

Class Channel

2a_builder_pattern/rust/builder/src/main.rs:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68#[derive(Default, Builder, Debug)]
69#[builder(setter(into))]
70struct Channel {
71 #[builder(default = "0")]
72 token: i32,
73 #[builder(default = r#""42".into()"#)]
74 special_info: String,
75}
76
77fn main() -> Result<(), Box<dyn std::error::Error>> {
78 let bob = User::builder(13, "bob@example.com")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected