//! Fast, minimalist web framework for Rust
/// Describes the xxhttp server
pubstructServer{ipv4addr:u32,
}implServer{/// Get bounded IP of Server instance
pubfngetip(&self)->u32{self.ipv4addr
}}/// Returns the instance of Server.
pubfnxxhttp_server()-> Server{let s = Server { ipv4addr:1};
s
}#[cfg(test)]modtests{//use super::*;
#[test]fnit_works(){assert_eq!(1,1);}}