pub struct SubjectRef {
pub scheme: String,
pub kind: String,
pub id: String,
pub label: Option<String>,
}Expand description
A non-disk subject a finding is about — a process, module, connection, registry key, PE section, etc. Disk findings leave this empty.
Fields§
§scheme: StringNamespaced subject scheme, e.g. memory, winevt, pe, filesystem.
kind: StringGeneric type within the scheme, e.g. process, module, registry_key.
id: StringStable identifier in that scheme, e.g. pid:4242, 0x401000.
label: Option<String>Optional human label, e.g. an image name.
Trait Implementations§
Source§impl Clone for SubjectRef
impl Clone for SubjectRef
Source§fn clone(&self) -> SubjectRef
fn clone(&self) -> SubjectRef
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 SubjectRef
impl Debug for SubjectRef
impl Eq for SubjectRef
Source§impl Hash for SubjectRef
impl Hash for SubjectRef
Source§impl PartialEq for SubjectRef
impl PartialEq for SubjectRef
impl StructuralPartialEq for SubjectRef
Auto Trait Implementations§
impl Freeze for SubjectRef
impl RefUnwindSafe for SubjectRef
impl Send for SubjectRef
impl Sync for SubjectRef
impl Unpin for SubjectRef
impl UnsafeUnpin for SubjectRef
impl UnwindSafe for SubjectRef
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