fn main() {
    let num: i32 = 42;
    let my_struct: MyStruct = num.into(); // تبدیل i32 به MyStruct
    println!("Value: {}", my_struct.value);
}