pub struct CategoryHint {
pub category: String,
pub confidence: f32,
pub reason: String,
}Expand description
Category hint for email classification
Fields§
§category: String§confidence: f32§reason: StringTrait Implementations§
Source§impl Clone for CategoryHint
impl Clone for CategoryHint
Source§fn clone(&self) -> CategoryHint
fn clone(&self) -> CategoryHint
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 CategoryHint
impl Debug for CategoryHint
Source§impl<'de> Deserialize<'de> for CategoryHint
impl<'de> Deserialize<'de> for CategoryHint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CategoryHint
impl RefUnwindSafe for CategoryHint
impl Send for CategoryHint
impl Sync for CategoryHint
impl Unpin for CategoryHint
impl UnwindSafe for CategoryHint
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