/// Prints the standard header for our generated output
Prints the standard header for our generated output
Prints the standard header for our generated output
fn print_header() -> String {
    let mut header = String::new();
    header.push_str("use std::time::Duration;\n");
    header.push_str("use chrono::prelude::*;\n");
    header.push_str("use derive_builder::Builder;\n");
    header.push_str("use getset::Getters;\n");
    #[cfg(feature = "getset_setters")]
    header.push_str("use getset::Setters;\n");
    #[cfg(feature = "getset_getmut")]
    header.push_str("use getset::MutGetters;\n");
    header.push_str(r#"#[cfg(feature = "with_serde")]"#);
    header.push_str("use serde_derive::{Serialize, Deserialize};\n");
    header.push_str("use url::Url;\n");
    header
}
fn print_header ( ) -> String { let mut header = String :: new ( ) ; header . push_str ( " \n " ) ; header . push_str ( " \n " ) ; header . push_str ( " \n " ) ; header . push_str ( " \n " ) ; # [ cfg ( feature " " ) ] header . push_str ( " \n " ) ; # [ cfg ( feature " " ) ] header . push_str ( " \n " ) ; header . push_str ( r#"#[cfg(feature = "with_serde")]"# ) ; header . push_str ( " \n " ) ; header . push_str ( " \n " ) ; header }
Prints the standard header for our generated output
Prints the standard header for our generated output