The question is whether you admitted to any facts constituting the charge, not whether you were convicted of the charges. If you did, you may find that the USCIS treats your outcome as a conviction; if not, you're in a much better position if this comes up, as you weren't convicted and having admitted to facts which would constitute a criminal offense.