pub struct SlugOptions {
pub separator: char,
pub max_length: Option<usize>,
pub lowercase: bool,
pub remove_stopwords: bool,
pub ascii_only: bool,
}Fields§
§separator: char§max_length: Option<usize>§lowercase: bool§remove_stopwords: bool§ascii_only: boolTrait Implementations§
Source§impl Clone for SlugOptions
impl Clone for SlugOptions
Source§fn clone(&self) -> SlugOptions
fn clone(&self) -> SlugOptions
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 SlugOptions
impl Debug for SlugOptions
Auto Trait Implementations§
impl Freeze for SlugOptions
impl RefUnwindSafe for SlugOptions
impl Send for SlugOptions
impl Sync for SlugOptions
impl Unpin for SlugOptions
impl UnwindSafe for SlugOptions
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