Characterization of partial 3-trees in terms of three structures