pub struct SlugConfig {
pub source: String,
pub target: String,
}Expand description
Slugify configuration for one entity.
Fields§
§source: StringSource field to generate slug from.
target: StringTarget field to write the slug to.
Auto Trait Implementations§
impl Freeze for SlugConfig
impl RefUnwindSafe for SlugConfig
impl Send for SlugConfig
impl Sync for SlugConfig
impl Unpin for SlugConfig
impl UnsafeUnpin for SlugConfig
impl UnwindSafe for SlugConfig
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