use moonmud::*; fn main() { println!("Hello, world!"); let mut o: Object = Object::default(); o.id = next_id(); o.kind = Kind::Player; o.name = "Test Player".to_string(); o.set_password(&"12345".to_string()); o.health = 10; o.max_health = 10; o.build = 1; o.max_build = 6; println!("{:?}", o); if !o.save() { println!("Err while saving?"); } }