pub struct BehavioralSignature {
pub signature_id: String,
pub signal_type: String,
pub indicators: Vec<BehaviorIndicator>,
pub threshold: f32,
pub confidence: f32,
}Expand description
Caller-supplied behavioral signal definition.
Fields§
§signature_id: String§signal_type: String§indicators: Vec<BehaviorIndicator>§threshold: f32Caller-supplied normalized threshold.
confidence: f32Caller-supplied normalized confidence label.
Implementations§
Source§impl BehavioralSignature
impl BehavioralSignature
Sourcepub fn validate(&self) -> Result<(), BehavioralSignatureValidationError>
pub fn validate(&self) -> Result<(), BehavioralSignatureValidationError>
Validates the record envelope without evaluating the signal.
Trait Implementations§
Source§impl Clone for BehavioralSignature
impl Clone for BehavioralSignature
Source§fn clone(&self) -> BehavioralSignature
fn clone(&self) -> BehavioralSignature
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 BehavioralSignature
impl Debug for BehavioralSignature
Source§impl<'de> Deserialize<'de> for BehavioralSignature
impl<'de> Deserialize<'de> for BehavioralSignature
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 BehavioralSignature
impl PartialEq for BehavioralSignature
Source§impl Serialize for BehavioralSignature
impl Serialize for BehavioralSignature
impl StructuralPartialEq for BehavioralSignature
Auto Trait Implementations§
impl Freeze for BehavioralSignature
impl RefUnwindSafe for BehavioralSignature
impl Send for BehavioralSignature
impl Sync for BehavioralSignature
impl Unpin for BehavioralSignature
impl UnsafeUnpin for BehavioralSignature
impl UnwindSafe for BehavioralSignature
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