mockersf / jenkins-api.rs

Rust client for Jenkins API
MIT License
26 stars 17 forks source link

Unhide the `other_fields` from CommonAction struct. #52

Closed rapidclock closed 4 years ago

rapidclock commented 4 years ago

I am trying to parse the upstream job info from the Build information. This value is stored as part of the Vec that is the action field inside the build struct.

Unfortunately, since that is marked private(not marked pub), I cannot access the data.

It would be nice to expose that as the json object itself(since I see that it is stored as a serde_json object anyway).

mockersf commented 4 years ago

with feature extra-fields-visibility, this fields will be public