pub struct ExploitStage {
pub stage_id: u32,
pub name: String,
pub technique: String,
pub payload: String,
pub expected_response: String,
pub fallback: Option<String>,
}Expand description
Caller-supplied stage record containing inert host data.
Fields§
§stage_id: u32§name: String§technique: String§payload: String§expected_response: String§fallback: Option<String>Implementations§
Source§impl ExploitStage
impl ExploitStage
pub fn validate(&self) -> Result<(), MlRecordValidationError>
Trait Implementations§
Source§impl Clone for ExploitStage
impl Clone for ExploitStage
Source§fn clone(&self) -> ExploitStage
fn clone(&self) -> ExploitStage
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 ExploitStage
impl Debug for ExploitStage
Source§impl<'de> Deserialize<'de> for ExploitStage
impl<'de> Deserialize<'de> for ExploitStage
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 ExploitStage
impl PartialEq for ExploitStage
Source§impl Serialize for ExploitStage
impl Serialize for ExploitStage
impl StructuralPartialEq for ExploitStage
Auto Trait Implementations§
impl Freeze for ExploitStage
impl RefUnwindSafe for ExploitStage
impl Send for ExploitStage
impl Sync for ExploitStage
impl Unpin for ExploitStage
impl UnsafeUnpin for ExploitStage
impl UnwindSafe for ExploitStage
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