pub struct FieldFacet {
pub name: String,
pub vocabulary: Option<String>,
pub values: OpenClosed,
pub reify: bool,
}Expand description
A field the workspace declared in fields.<name>.
Fields§
§name: StringThe frontmatter key.
vocabulary: Option<String>The vocabulary document its terms are checked against, when it names one.
None for a field that declares only a type.
values: OpenClosedWhether an unknown term is rejected (closed) or merely unlisted.
reify: boolWhether each term is a document in its own right rather than a row in a flat store — in which case its terms are ordinary content, reachable down the spanning tree as well as through this pointer.
Trait Implementations§
Source§impl Clone for FieldFacet
impl Clone for FieldFacet
Source§fn clone(&self) -> FieldFacet
fn clone(&self) -> FieldFacet
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 moreAuto Trait Implementations§
impl Freeze for FieldFacet
impl RefUnwindSafe for FieldFacet
impl Send for FieldFacet
impl Sync for FieldFacet
impl Unpin for FieldFacet
impl UnsafeUnpin for FieldFacet
impl UnwindSafe for FieldFacet
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