pub struct Refusal {
pub marker: PathBuf,
pub policy: PathBuf,
}Expand description
A repository the site policy refuses to have reviewed by a model.
Carries both paths because the message has to answer two questions at once: a developer who has never seen this needs to know which file caused it, and that it came from machine policy rather than a broken install.
Fields§
§marker: PathBufThe marker as found, at the repository root.
policy: PathBufThe policy file that named it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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