Inference and Information in Network Structure