pub struct TokenizationResult {
pub token_count: usize,
pub model_info: ModelInfo,
}Expand description
Result of tokenization operation
Fields§
§token_count: usize§model_info: ModelInfoTrait Implementations§
Source§impl Clone for TokenizationResult
impl Clone for TokenizationResult
Source§fn clone(&self) -> TokenizationResult
fn clone(&self) -> TokenizationResult
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 moreAuto Trait Implementations§
impl Freeze for TokenizationResult
impl RefUnwindSafe for TokenizationResult
impl Send for TokenizationResult
impl Sync for TokenizationResult
impl Unpin for TokenizationResult
impl UnsafeUnpin for TokenizationResult
impl UnwindSafe for TokenizationResult
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