1 2 3 4 5 6 7 8 9 10 11 12 13
use super::tracking::client::TrackingApi; pub struct DHL { pub tracking: TrackingApi, } impl DHL { pub fn new(api_key: &'static str) -> Self { return DHL { tracking: TrackingApi::new(api_key), }; } }