pub struct ProtocolDetection {
pub version: ProtocolVersion,
pub confidence: f32,
pub method: DetectionMethod,
}Expand description
Protocol detection result
Fields§
§version: ProtocolVersionDetected protocol version
confidence: f32Confidence level (0.0 - 1.0)
method: DetectionMethodDetection method used
Trait Implementations§
Source§impl Clone for ProtocolDetection
impl Clone for ProtocolDetection
Source§fn clone(&self) -> ProtocolDetection
fn clone(&self) -> ProtocolDetection
Returns a duplicate of the value. Read more
1.0.0 · 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 ProtocolDetection
impl Debug for ProtocolDetection
Source§impl PartialEq for ProtocolDetection
impl PartialEq for ProtocolDetection
impl StructuralPartialEq for ProtocolDetection
Auto Trait Implementations§
impl Freeze for ProtocolDetection
impl RefUnwindSafe for ProtocolDetection
impl Send for ProtocolDetection
impl Sync for ProtocolDetection
impl Unpin for ProtocolDetection
impl UnwindSafe for ProtocolDetection
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