pub struct ExploitationChain {
pub chain_id: String,
pub stages: Vec<ExploitStage>,
pub success_rate: f32,
pub time_to_exploit_secs: u32,
}Expand description
Caller-supplied research-chain record. The scanner never executes its stages.
Fields§
§chain_id: String§stages: Vec<ExploitStage>§success_rate: f32§time_to_exploit_secs: u32Implementations§
Source§impl ExploitationChain
impl ExploitationChain
pub fn validate(&self) -> Result<(), MlRecordValidationError>
Trait Implementations§
Source§impl Clone for ExploitationChain
impl Clone for ExploitationChain
Source§fn clone(&self) -> ExploitationChain
fn clone(&self) -> ExploitationChain
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 ExploitationChain
impl Debug for ExploitationChain
Source§impl<'de> Deserialize<'de> for ExploitationChain
impl<'de> Deserialize<'de> for ExploitationChain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExploitationChain
impl PartialEq for ExploitationChain
Source§impl Serialize for ExploitationChain
impl Serialize for ExploitationChain
impl StructuralPartialEq for ExploitationChain
Auto Trait Implementations§
impl Freeze for ExploitationChain
impl RefUnwindSafe for ExploitationChain
impl Send for ExploitationChain
impl Sync for ExploitationChain
impl Unpin for ExploitationChain
impl UnsafeUnpin for ExploitationChain
impl UnwindSafe for ExploitationChain
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