pub struct StopWordsConfig {
pub chinese: Vec<String>,
pub english: Vec<String>,
}Expand description
Stop words configuration.
Fields§
§chinese: Vec<String>Chinese stop words.
english: Vec<String>English stop words.
Trait Implementations§
Source§impl Clone for StopWordsConfig
impl Clone for StopWordsConfig
Source§fn clone(&self) -> StopWordsConfig
fn clone(&self) -> StopWordsConfig
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 StopWordsConfig
impl Debug for StopWordsConfig
Source§impl<'de> Deserialize<'de> for StopWordsConfig
impl<'de> Deserialize<'de> for StopWordsConfig
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 StopWordsConfig
impl RefUnwindSafe for StopWordsConfig
impl Send for StopWordsConfig
impl Sync for StopWordsConfig
impl Unpin for StopWordsConfig
impl UnsafeUnpin for StopWordsConfig
impl UnwindSafe for StopWordsConfig
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