If you have private rides, they will never be publicly matched against any public segments.
Premium users can take advantage of segments with private rides, however. If you have a Premium account, you will see segments on your private rides, and you will also see yourself on the segment leaderboards. No one else will see this information, so your privacy is maintained.
In addition, as a Premium user, you can create private segments so that you can quickly track your own progress.