pub struct Workspace<'a> {
pub root: &'a Path,
pub routes: BTreeSet<String>,
pub packages: Vec<(String, Vec<String>)>,
}Expand description
What the local checks need to know about the repository they are deciding against.
Fields§
§root: &'a PathThe repository root.
routes: BTreeSet<String>Every HTTP path the capability registry serves.
packages: Vec<(String, Vec<String>)>Every Cargo package in the workspace, with the binaries it produces.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Workspace<'a>
impl<'a> RefUnwindSafe for Workspace<'a>
impl<'a> Send for Workspace<'a>
impl<'a> Sync for Workspace<'a>
impl<'a> Unpin for Workspace<'a>
impl<'a> UnsafeUnpin for Workspace<'a>
impl<'a> UnwindSafe for Workspace<'a>
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