pub struct ClassifyExample<'input> {
pub text: &'input str,
pub label: &'input str,
}
Fields§
§text: &'input str
The text of the example.
label: &'input str
The label that fits the example’s text.
Trait Implementations§
Source§impl<'input> Debug for ClassifyExample<'input>
impl<'input> Debug for ClassifyExample<'input>
Auto Trait Implementations§
impl<'input> Freeze for ClassifyExample<'input>
impl<'input> RefUnwindSafe for ClassifyExample<'input>
impl<'input> Send for ClassifyExample<'input>
impl<'input> Sync for ClassifyExample<'input>
impl<'input> Unpin for ClassifyExample<'input>
impl<'input> UnwindSafe for ClassifyExample<'input>
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