pub enum AllowedCharacterSet {
UnicodeAlphanumericCharacters,
AsciiAlphanumericCharacters,
UnicodeLettersAndDecimalDigits,
}Expand description
Character sets that can pass through the slug filter.
Variants§
UnicodeAlphanumericCharacters
Rust’s Unicode alphanumeric predicate.
AsciiAlphanumericCharacters
ASCII letters and digits only.
UnicodeLettersAndDecimalDigits
Unicode letter categories plus Unicode decimal digits.
Trait Implementations§
Source§impl Clone for AllowedCharacterSet
impl Clone for AllowedCharacterSet
Source§fn clone(&self) -> AllowedCharacterSet
fn clone(&self) -> AllowedCharacterSet
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 moreimpl Copy for AllowedCharacterSet
Source§impl Debug for AllowedCharacterSet
impl Debug for AllowedCharacterSet
impl Eq for AllowedCharacterSet
Source§impl PartialEq for AllowedCharacterSet
impl PartialEq for AllowedCharacterSet
impl StructuralPartialEq for AllowedCharacterSet
Auto Trait Implementations§
impl Freeze for AllowedCharacterSet
impl RefUnwindSafe for AllowedCharacterSet
impl Send for AllowedCharacterSet
impl Sync for AllowedCharacterSet
impl Unpin for AllowedCharacterSet
impl UnsafeUnpin for AllowedCharacterSet
impl UnwindSafe for AllowedCharacterSet
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