1 2 3 4 5 6 7 8
mod mymod; use crate::mymod::ticket::Ticket; fn main() { let ticket = Ticket{a:1,b:2}; println!("{}{}", ticket.a, ticket.b); }