pub struct KindView {
pub name: String,
pub format: String,
pub front_matter: String,
pub schema: Option<String>,
pub identity: Vec<String>,
pub objects: usize,
}Expand description
One kind.
Fields§
§name: StringThe kind’s name.
format: Stringmarkdown, yaml or text.
front_matter: Stringrequired, optional or none.
schema: Option<String>The JSON Schema it is validated against, when it declares one.
identity: Vec<String>The identity fields, joined with @; empty means the path.
objects: usizeObjects of this kind in the index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KindView
impl RefUnwindSafe for KindView
impl Send for KindView
impl Sync for KindView
impl Unpin for KindView
impl UnsafeUnpin for KindView
impl UnwindSafe for KindView
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