pub struct UnreachableObject {
pub object: GitHash,
pub kind: String,
}Expand description
An object present in the store yet reachable from no ref.
Fields§
§object: GitHashThe unreachable object’s hash.
kind: StringIts kind as a lowercase git type (commit, tree, blob, tag).
Trait Implementations§
Source§impl Clone for UnreachableObject
impl Clone for UnreachableObject
Source§fn clone(&self) -> UnreachableObject
fn clone(&self) -> UnreachableObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnreachableObject
impl Debug for UnreachableObject
impl Eq for UnreachableObject
Source§impl Observation for UnreachableObject
impl Observation for UnreachableObject
Source§fn severity(&self) -> Option<Severity>
fn severity(&self) -> Option<Severity>
Severity, or
None if the analyzer deliberately does not grade this kind.Source§fn category(&self) -> Category
fn category(&self) -> Category
Analytical lens; defaults to
Category::from_code of Observation::code.
Override when a code’s keyword classification is wrong.Source§fn subjects(&self) -> Vec<SubjectRef>
fn subjects(&self) -> Vec<SubjectRef>
Non-disk subjects this kind is about (default: none).
Source§fn mitre(&self) -> &'static [&'static str]
fn mitre(&self) -> &'static [&'static str]
MITRE ATT&CK technique ids this kind is consistent with (default: none).
Source§fn confidence(&self) -> Option<Confidence>
fn confidence(&self) -> Option<Confidence>
Heuristic confidence, if inferential (default: none).
Source§impl PartialEq for UnreachableObject
impl PartialEq for UnreachableObject
Source§fn eq(&self, other: &UnreachableObject) -> bool
fn eq(&self, other: &UnreachableObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnreachableObject
Auto Trait Implementations§
impl Freeze for UnreachableObject
impl RefUnwindSafe for UnreachableObject
impl Send for UnreachableObject
impl Sync for UnreachableObject
impl Unpin for UnreachableObject
impl UnsafeUnpin for UnreachableObject
impl UnwindSafe for UnreachableObject
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