Added Message class using Rust enum (Tagged Union)