pub enum FmFormat {
Url,
Slug,
Host(String),
}Expand description
format of a frontmatter constraint.
Variants§
Url
An absolute URL.
Slug
A slug: lower-case letters and digits joined by single hyphens.
Host(String)
A format the host names and checks, as document-id.
Implementations§
Trait Implementations§
impl Eq for FmFormat
impl StructuralPartialEq for FmFormat
Auto Trait Implementations§
impl Freeze for FmFormat
impl RefUnwindSafe for FmFormat
impl Send for FmFormat
impl Sync for FmFormat
impl Unpin for FmFormat
impl UnsafeUnpin for FmFormat
impl UnwindSafe for FmFormat
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