Localized Magnetic-field Structures and Their Boundaries in the Near-Sun Solar Wind from Parker Solar Probe Measurements