pub struct BookstackIdGenerator;Expand description
ID generator for bookstack:wiki profile
Implementations§
Source§impl BookstackIdGenerator
impl BookstackIdGenerator
Sourcepub fn chapter_id(
book_slug: &str,
chapter_title: &str,
content: &str,
) -> ElementId
pub fn chapter_id( book_slug: &str, chapter_title: &str, content: &str, ) -> ElementId
Generate chapter ID: book-{slug}.chapter-{slug}
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BookstackIdGenerator
impl RefUnwindSafe for BookstackIdGenerator
impl Send for BookstackIdGenerator
impl Sync for BookstackIdGenerator
impl Unpin for BookstackIdGenerator
impl UnwindSafe for BookstackIdGenerator
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