pub struct Observation {
pub technologies: Vec<&'static str>,
pub host: Option<String>,
pub repo: Option<String>,
pub forge: Option<Forge>,
}Expand description
What one observation of a target found.
Every technology its version files name, and what its origin remote says. Every field is an observation; deciding on it is the resolution’s job.
Fields§
§technologies: Vec<&'static str>The technologies present, in the bindings’ order.
host: Option<String>The remote’s host, where a remote exists and parses.
repo: Option<String>The project path from the remote.
forge: Option<Forge>The forge the host maps to.
Trait Implementations§
Source§impl Debug for Observation
impl Debug for Observation
Source§impl Default for Observation
impl Default for Observation
Source§fn default() -> Observation
fn default() -> Observation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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