pub struct RepoAccessOutcomes {
pub push_denied: PreflightCheck,
pub missing_or_denied: PreflightCheck,
}Expand description
The two outcomes whose severity + wording genuinely differ between the
preflight callers of github_repo_push_check: an unwritable repo blocks
the required github-release target but only warns for a tap/index repo,
and the missing/denied wording names what the caller was probing.
Every other arm of the probe→check mapping (the permissions.push parse
ladder, the rate-limited / inconclusive / client-build indeterminates —
warnings by default, blockers under strict preflight) is shared policy and
lives in the mapper itself, so the two preflights cannot drift apart on
how the same token+repo is classified.
Fields§
§push_denied: PreflightCheckReturned when the probe proves permissions.push == false.
missing_or_denied: PreflightCheckReturned when the repo 404s or the token is denied access.
Auto Trait Implementations§
impl Freeze for RepoAccessOutcomes
impl RefUnwindSafe for RepoAccessOutcomes
impl Send for RepoAccessOutcomes
impl Sync for RepoAccessOutcomes
impl Unpin for RepoAccessOutcomes
impl UnsafeUnpin for RepoAccessOutcomes
impl UnwindSafe for RepoAccessOutcomes
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