INNER CODE UNIT · Rust

without_secrets

szabodanika/microbin · src/args.rs:202

    pub fn without_secrets(self) -> Args {
        Args {
            auth_basic_username: None,
            auth_basic_password: None,
            auth_admin_username: crate::args::SecretArg(String::from("")),
            auth_admin_password: crate::args::SecretArg(String::from("")),
            editable: self.editable,
            footer_text: self.footer_text,
            hide_footer: self.hide_footer,
            hide_header: self.hide_header,
            hide_logo: self.hide_logo,
            no_listing: self.no_listing,
            highlightsyntax: self.highlightsyntax,
            port: self.port,
            bind: self.bind,
            private: self.private,
            pure_html: self.pure_html,
            json_db: self.json_db,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…