pub enum MaterializeFormat {
Raw,
Markdown,
Json,
Yaml,
}Expand description
Output serialisation format.
Determines both the content written to each file and the file extension
used in the {dest}/{id}.{ext} naming scheme when concat=false.
Variants§
Raw
Plain text: field values joined by newlines. Extension: .txt.
Markdown
Markdown: each field rendered as a heading + body block. Extension: .md.
Json
JSON: single object per row, or array when concat=true. Extension: .json.
Yaml
YAML: single document per row, or YAML document stream when concat=true. Extension: .yaml.
Trait Implementations§
Source§impl Debug for MaterializeFormat
impl Debug for MaterializeFormat
Source§impl<'de> Deserialize<'de> for MaterializeFormat
impl<'de> Deserialize<'de> for MaterializeFormat
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 JsonSchema for MaterializeFormat
impl JsonSchema for MaterializeFormat
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for MaterializeFormat
impl RefUnwindSafe for MaterializeFormat
impl Send for MaterializeFormat
impl Sync for MaterializeFormat
impl Unpin for MaterializeFormat
impl UnsafeUnpin for MaterializeFormat
impl UnwindSafe for MaterializeFormat
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