pub struct LabeledSample {
pub id: String,
pub path: PathBuf,
pub label: SampleLabel,
pub focus_category: Option<ThreatCategory>,
pub attack_family: Option<String>,
}Fields§
§id: String§path: PathBuf§label: SampleLabel§focus_category: Option<ThreatCategory>§attack_family: Option<String>Trait Implementations§
Source§impl Clone for LabeledSample
impl Clone for LabeledSample
Source§fn clone(&self) -> LabeledSample
fn clone(&self) -> LabeledSample
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 LabeledSample
impl Debug for LabeledSample
Source§impl<'de> Deserialize<'de> for LabeledSample
impl<'de> Deserialize<'de> for LabeledSample
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
Auto Trait Implementations§
impl Freeze for LabeledSample
impl RefUnwindSafe for LabeledSample
impl Send for LabeledSample
impl Sync for LabeledSample
impl Unpin for LabeledSample
impl UnsafeUnpin for LabeledSample
impl UnwindSafe for LabeledSample
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