pub struct FieldDoc {
pub key: &'static str,
pub ty: &'static str,
pub default: &'static str,
pub required: bool,
pub doc: &'static str,
}Expand description
One documented key of the site file.
Fields§
§key: &'static strThe key, as the site file spells it.
ty: &'static strThe type of its value: string, integer, table, array of string
and the like.
default: &'static strThe default, as the reference prints it; empty when it prints none.
required: boolWhether the site file must set the key.
doc: &'static strWhat the key means; also the field’s rustdoc.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldDoc
impl RefUnwindSafe for FieldDoc
impl Send for FieldDoc
impl Sync for FieldDoc
impl Unpin for FieldDoc
impl UnwindSafe for FieldDoc
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