pub struct PhraseList {
pub ban: Vec<String>,
}Expand description
Phrase container for banned expressions.
Fields§
§ban: Vec<String>Trait Implementations§
Source§impl Clone for PhraseList
impl Clone for PhraseList
Source§impl Debug for PhraseList
impl Debug for PhraseList
Source§impl Default for PhraseList
impl Default for PhraseList
Source§impl<'de> Deserialize<'de> for PhraseListwhere
PhraseList: Default,
impl<'de> Deserialize<'de> for PhraseListwhere
PhraseList: Default,
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 PhraseList
impl RefUnwindSafe for PhraseList
impl Send for PhraseList
impl Sync for PhraseList
impl Unpin for PhraseList
impl UnsafeUnpin for PhraseList
impl UnwindSafe for PhraseList
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