Struct cdoc::document::DocumentMetadata
source · pub struct DocumentMetadata {
pub title: Option<String>,
pub draft: bool,
pub exercises: bool,
pub code_solutions: bool,
pub cell_outputs: bool,
pub interactive: bool,
pub editable: bool,
pub layout: LayoutSettings,
pub exclude_outputs: Option<Vec<String>>,
}
Fields§
§title: Option<String>
§draft: bool
§exercises: bool
§code_solutions: bool
§cell_outputs: bool
§interactive: bool
§editable: bool
§layout: LayoutSettings
§exclude_outputs: Option<Vec<String>>
Trait Implementations§
source§impl Clone for DocumentMetadata
impl Clone for DocumentMetadata
source§fn clone(&self) -> DocumentMetadata
fn clone(&self) -> DocumentMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DocumentMetadata
impl Debug for DocumentMetadata
source§impl Default for DocumentMetadata
impl Default for DocumentMetadata
source§fn default() -> DocumentMetadata
fn default() -> DocumentMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DocumentMetadata
impl<'de> Deserialize<'de> for DocumentMetadata
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
Auto Trait Implementations§
impl RefUnwindSafe for DocumentMetadata
impl Send for DocumentMetadata
impl Sync for DocumentMetadata
impl Unpin for DocumentMetadata
impl UnwindSafe for DocumentMetadata
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