use component_model ::Assign;
#[ derive( Default, Debug, PartialEq, Assign ) ]
struct Person
{
name: String,
age: i32,
}
fn main()
{
println!( "🚀 Component Model Quick Start" );
let person = Person ::default()
.impute( "Alice" ) .impute( 25 );
println!( "Created person: {person:?}" );
assert_eq!( person, Person { name: "Alice".to_string(), age: 25 } );
println!( "✅ Component model working perfectly!" );
}