pub struct ServiceMatch {
pub rule_id: String,
pub service: String,
pub version: Option<String>,
pub confidence: f32,
pub signals: Vec<String>,
pub metadata: HashMap<String, String>,
}Expand description
Result of classifying a banner.
Fields§
§rule_id: StringThe rule that matched.
service: StringIdentified service name.
version: Option<String>Extracted version, if available.
confidence: f32Confidence score (0.0 - 1.0).
signals: Vec<String>Security signals detected in the banner.
metadata: HashMap<String, String>Additional metadata extracted.
Trait Implementations§
Source§impl Clone for ServiceMatch
impl Clone for ServiceMatch
Source§fn clone(&self) -> ServiceMatch
fn clone(&self) -> ServiceMatch
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 ServiceMatch
impl RefUnwindSafe for ServiceMatch
impl Send for ServiceMatch
impl Sync for ServiceMatch
impl Unpin for ServiceMatch
impl UnsafeUnpin for ServiceMatch
impl UnwindSafe for ServiceMatch
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