pub struct ScanFinding {
pub phase: u8,
pub module_name: String,
pub severity: String,
pub description: String,
pub evidence: String,
}Expand description
A raw observation returned by a bespoke historical ScanPhase.
§Examples
use termivar_core::ScanFinding;
let finding = ScanFinding {
phase: 1,
module_name: "legacy-header-phase".into(),
severity: "LOW".into(),
description: "Example observation".into(),
evidence: "response marker".into(),
};
assert_eq!(finding.phase, 1);Fields§
§phase: u8§module_name: String§severity: String§description: String§evidence: StringTrait Implementations§
Source§impl Clone for ScanFinding
impl Clone for ScanFinding
Source§fn clone(&self) -> ScanFinding
fn clone(&self) -> ScanFinding
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 ScanFinding
impl Debug for ScanFinding
Source§impl<'de> Deserialize<'de> for ScanFinding
impl<'de> Deserialize<'de> for ScanFinding
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScanFinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScanFinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ScanFinding
impl Serialize for ScanFinding
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ScanFinding
impl RefUnwindSafe for ScanFinding
impl Send for ScanFinding
impl Sync for ScanFinding
impl Unpin for ScanFinding
impl UnsafeUnpin for ScanFinding
impl UnwindSafe for ScanFinding
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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