Struct pandoc_ast::Pandoc
source · pub struct Pandoc {
pub meta: Map<String, MetaValue>,
pub blocks: Vec<Block>,
pub pandoc_api_version: Vec<u32>,
}
Expand description
the root object of a pandoc document
Fields§
§meta: Map<String, MetaValue>
§blocks: Vec<Block>
§pandoc_api_version: Vec<u32>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Pandoc
impl<'de> Deserialize<'de> for Pandoc
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 Pandoc
impl PartialEq for Pandoc
impl StructuralPartialEq for Pandoc
Auto Trait Implementations§
impl RefUnwindSafe for Pandoc
impl Send for Pandoc
impl Sync for Pandoc
impl Unpin for Pandoc
impl UnwindSafe for Pandoc
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