pub struct FrontmatterColumn {
pub field: String,
pub header: String,
}Expand description
One column of a FrontmatterTable.
Fields§
§field: StringThe key each cell is read from, in a map of the list. A cell whose
key is absent, or holds no text (a list, a map, null, ""), is
empty; a number reads as YAML read it.
header: StringThe column’s header cell.
Trait Implementations§
Source§impl Clone for FrontmatterColumn
impl Clone for FrontmatterColumn
Source§impl Debug for FrontmatterColumn
impl Debug for FrontmatterColumn
Source§impl<'de> Deserialize<'de> for FrontmatterColumn
impl<'de> Deserialize<'de> for FrontmatterColumn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FrontmatterColumn
impl PartialEq for FrontmatterColumn
impl StructuralPartialEq for FrontmatterColumn
Auto Trait Implementations§
impl Forget for FrontmatterColumn
impl Freeze for FrontmatterColumn
impl Move for FrontmatterColumn
impl RefUnwindSafe for FrontmatterColumn
impl Send for FrontmatterColumn
impl Sync for FrontmatterColumn
impl Unpin for FrontmatterColumn
impl UnsafeUnpin for FrontmatterColumn
impl UnwindSafe for FrontmatterColumn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.