pub struct Report {
pub changes: BTreeMap<String, Change>,
pub unchanged: BTreeMap<String, Vec<String>>,
pub archived: bool,
pub admin: Option<bool>,
pub governance: Option<Shadowing>,
pub limitations: Vec<Limitation>,
pub lockouts: Vec<Lockout>,
}Expand description
The plan result used by both text and machine reports.
Fields§
§changes: BTreeMap<String, Change>Fields that would change, grouped by resource name.
unchanged: BTreeMap<String, Vec<String>>Fields that already match, grouped by resource name.
archived: boolA plan can be inspected but not applied when archived.
admin: Option<bool>Whether the caller administers the repository, when the forge says.
governance: Option<Shadowing>Which rule governs the default branch, on forges where rule order decides.
limitations: Vec<Limitation>Access or settings that the forge exposes but this tool cannot change.
lockouts: Vec<Lockout>Grants carrying the caller’s own access that the plan would remove.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more