pub struct Observation {Show 16 fields
pub target: String,
pub git: bool,
pub tech: Option<String>,
pub forge_name: Option<String>,
pub repo: Option<String>,
pub facts: RepositoryFacts,
pub record: RecordRead,
pub config: ConfigRead,
pub files: BTreeMap<String, Vec<u8>>,
pub hooks_defect: Option<String>,
pub pin: Option<PinState>,
pub unwired_managers: Vec<String>,
pub generator: Option<GeneratorRead>,
pub forge: ForgeRead,
pub ledger: Ledger,
pub refs: Refs,
}Expand description
Everything observed, as data.
Fields§
§target: StringThe target, as given.
git: boolWhether the target is a git repository.
tech: Option<String>The technology the version file names.
forge_name: Option<String>The forge the origin remote maps to.
repo: Option<String>The project path from the origin remote.
facts: RepositoryFactsThe facts the verdict reads.
record: RecordReadThe record.
config: ConfigReadThe configuration.
files: BTreeMap<String, Vec<u8>>Every destination present, by path, as bytes: the whole file, or the marked block for the two block destinations.
hooks_defect: Option<String>The hook file’s defect, where it has one.
pin: Option<PinState>The pin the wired manager records.
unwired_managers: Vec<String>The managers whose file is present and names no release-kit.
generator: Option<GeneratorRead>The generator on the host, where the technology has one and the host was asked.
forge: ForgeReadThe forge.
ledger: LedgerThe ledger, stamped as each fact was read.
refs: RefsThe ids the sections cite.
Trait Implementations§
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