pub struct GitObservations {
pub options: StatusOptions,
pub status_identity: ArtifactIdentity,
pub tool_identity: ArtifactIdentity,
/* private fields */
}Expand description
Raw observations, without a product report or source-cleanliness guarantee.
Fields§
§options: StatusOptionsSelected status scope, retained alongside the dirty observation.
status_identity: ArtifactIdentityRaw status byte count and SHA-256; not a canonical source-tree identity.
tool_identity: ArtifactIdentityAdmitted Git executable identity.
Implementations§
Source§impl GitObservations
impl GitObservations
Sourcepub fn revision(&self) -> &str
pub fn revision(&self) -> &str
Borrow the validated lowercase HEAD object ID, without its final newline.
Sourcepub fn tree(&self) -> &str
pub fn tree(&self) -> &str
Borrow the validated lowercase HEAD tree ID, without its final newline.
Sourcepub const fn revision_evidence(&self) -> &CompletedExecution
pub const fn revision_evidence(&self) -> &CompletedExecution
Original bounded revision output and diagnostics, retained without copying.
Sourcepub const fn tree_evidence(&self) -> &CompletedExecution
pub const fn tree_evidence(&self) -> &CompletedExecution
Original bounded tree output and diagnostics, retained without copying.
Sourcepub const fn status_evidence(&self) -> &CompletedExecution
pub const fn status_evidence(&self) -> &CompletedExecution
Original bounded status output, including arbitrary pathname bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitObservations
impl RefUnwindSafe for GitObservations
impl Send for GitObservations
impl Sync for GitObservations
impl Unpin for GitObservations
impl UnsafeUnpin for GitObservations
impl UnwindSafe for GitObservations
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