pub struct ProcessOptions {
pub labels: Vec<String>,
pub threshold: f32,
}Expand description
Options for processing arbitrary input.
Fields§
§labels: Vec<String>Labels to extract (empty = all)
threshold: f32Confidence threshold
Trait Implementations§
Source§impl Clone for ProcessOptions
impl Clone for ProcessOptions
Source§fn clone(&self) -> ProcessOptions
fn clone(&self) -> ProcessOptions
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 ProcessOptions
impl Debug for ProcessOptions
Source§impl Default for ProcessOptions
impl Default for ProcessOptions
Source§fn default() -> ProcessOptions
fn default() -> ProcessOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessOptions
impl RefUnwindSafe for ProcessOptions
impl Send for ProcessOptions
impl Sync for ProcessOptions
impl Unpin for ProcessOptions
impl UnsafeUnpin for ProcessOptions
impl UnwindSafe for ProcessOptions
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