pub struct Evidence {
pub landing: Landing,
pub tech: Option<&'static str>,
pub forge: Option<&'static str>,
pub repo: Option<String>,
pub release_markers: Vec<String>,
pub collisions: Vec<String>,
pub git: bool,
pub tags: usize,
pub long_lived_branches: Vec<String>,
}Expand description
The evidence the classification is computed from.
Fields§
§landing: LandingThe landing record, present or not.
tech: Option<&'static str>The technology the version file names, where one is found.
forge: Option<&'static str>The forge the origin remote maps to, where one is recognized.
repo: Option<String>The project path from the origin remote, where one exists.
release_markers: Vec<String>Release-mechanism files of other tools found at the target.
collisions: Vec<String>Payload destinations already present: a whole file that exists, or a block destination whose marked block is present.
git: boolWhether the target is a git repository the evidence below reads.
How many tags the repository holds.
long_lived_branches: Vec<String>Long-lived branches found besides the trunk, local or remote.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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