pub struct TextStatisticsResult {
pub byte_count: usize,
pub character_count: usize,
pub word_count: usize,
pub line_count: usize,
pub sentence_count: usize,
}Fields§
§byte_count: usize§character_count: usize§word_count: usize§line_count: usize§sentence_count: usizeTrait Implementations§
Source§impl Clone for TextStatisticsResult
impl Clone for TextStatisticsResult
Source§fn clone(&self) -> TextStatisticsResult
fn clone(&self) -> TextStatisticsResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextStatisticsResult
impl Debug for TextStatisticsResult
Source§impl<'de> Deserialize<'de> for TextStatisticsResult
impl<'de> Deserialize<'de> for TextStatisticsResult
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
impl Eq for TextStatisticsResult
Source§impl PartialEq for TextStatisticsResult
impl PartialEq for TextStatisticsResult
Source§fn eq(&self, other: &TextStatisticsResult) -> bool
fn eq(&self, other: &TextStatisticsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextStatisticsResult
impl Serialize for TextStatisticsResult
impl StructuralPartialEq for TextStatisticsResult
Auto Trait Implementations§
impl Freeze for TextStatisticsResult
impl RefUnwindSafe for TextStatisticsResult
impl Send for TextStatisticsResult
impl Sync for TextStatisticsResult
impl Unpin for TextStatisticsResult
impl UnsafeUnpin for TextStatisticsResult
impl UnwindSafe for TextStatisticsResult
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