pub struct ResponseClassification { /* private fields */ }Expand description
Multi-signal response classification result.
Implementations§
Source§impl ResponseClassification
impl ResponseClassification
Sourcepub fn primary(&self) -> Option<&ResponseSignal>
pub fn primary(&self) -> Option<&ResponseSignal>
Highest-priority response signal.
Sourcepub fn has_class(&self, class: ResponseClass) -> bool
pub fn has_class(&self, class: ResponseClass) -> bool
Whether the classification contains the given signal class.
Trait Implementations§
Source§impl Clone for ResponseClassification
impl Clone for ResponseClassification
Source§fn clone(&self) -> ResponseClassification
fn clone(&self) -> ResponseClassification
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 ResponseClassification
impl Debug for ResponseClassification
Source§impl Default for ResponseClassification
impl Default for ResponseClassification
Source§fn default() -> ResponseClassification
fn default() -> ResponseClassification
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResponseClassification
impl PartialEq for ResponseClassification
impl StructuralPartialEq for ResponseClassification
Auto Trait Implementations§
impl Freeze for ResponseClassification
impl RefUnwindSafe for ResponseClassification
impl Send for ResponseClassification
impl Sync for ResponseClassification
impl Unpin for ResponseClassification
impl UnsafeUnpin for ResponseClassification
impl UnwindSafe for ResponseClassification
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