pub struct RedTeamProbe {
pub category: RedTeamCategory,
pub payload: String,
pub description: &'static str,
}Expand description
A static red-team probe: a payload and the category it tests.
Fields§
§category: RedTeamCategory§payload: String§description: &'static strTrait Implementations§
Source§impl Clone for RedTeamProbe
impl Clone for RedTeamProbe
Source§fn clone(&self) -> RedTeamProbe
fn clone(&self) -> RedTeamProbe
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 moreAuto Trait Implementations§
impl Freeze for RedTeamProbe
impl RefUnwindSafe for RedTeamProbe
impl Send for RedTeamProbe
impl Sync for RedTeamProbe
impl Unpin for RedTeamProbe
impl UnsafeUnpin for RedTeamProbe
impl UnwindSafe for RedTeamProbe
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