pub struct ClassifyMessage {
pub classify: Vec<f32>,
pub id: u32,
pub debug: Option<bool>,
}
Expand description
Message containing features for classification.
Used to send preprocessed input features to the model for inference.
Fields§
§classify: Vec<f32>
Vector of preprocessed features matching the model’s input requirements
id: u32
Unique message identifier
debug: Option<bool>
Optional flag to enable debug output for this classification
Trait Implementations§
Source§impl Debug for ClassifyMessage
impl Debug for ClassifyMessage
Auto Trait Implementations§
impl Freeze for ClassifyMessage
impl RefUnwindSafe for ClassifyMessage
impl Send for ClassifyMessage
impl Sync for ClassifyMessage
impl Unpin for ClassifyMessage
impl UnwindSafe for ClassifyMessage
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