Electronic properties of structural defects in YBa2Cu3Ox