The present disclosure provides compounds and nanostructures having one or more quaternary ammonium salts, compositions including the compounds and nanostructures, and methods useful for treating conditions using the compounds, nanostructures, and compositions. In at least one aspect, a compound is represented by formula (I):