pub struct TokenCounts {
pub alphanumeric_tokens: i32,
pub punctuation_tokens: i32,
pub whitespace_tokens: i32,
pub total_tokens: i32,
}Fields§
§alphanumeric_tokens: i32§punctuation_tokens: i32§whitespace_tokens: i32§total_tokens: i32Trait Implementations§
Source§impl Clone for TokenCounts
impl Clone for TokenCounts
Source§fn clone(&self) -> TokenCounts
fn clone(&self) -> TokenCounts
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 TokenCounts
impl Debug for TokenCounts
Source§impl Default for TokenCounts
impl Default for TokenCounts
Source§fn default() -> TokenCounts
fn default() -> TokenCounts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TokenCounts
impl RefUnwindSafe for TokenCounts
impl Send for TokenCounts
impl Sync for TokenCounts
impl Unpin for TokenCounts
impl UnwindSafe for TokenCounts
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