pub struct Demo {
pub description: String,
pub name: String,
pub program_code: String,
pub title: String,
pub udf_rust: String,
pub udf_toml: String,
}Expand description
Demo
JSON schema
{
"type": "object",
"required": [
"description",
"name",
"program_code",
"title",
"udf_rust",
"udf_toml"
],
"properties": {
"description": {
"description": "Description of the demo (parsed from SQL preamble).",
"type": "string"
},
"name": {
"description": "Name of the demo (parsed from SQL preamble).",
"type": "string"
},
"program_code": {
"description": "Program SQL code.",
"type": "string"
},
"title": {
"description": "Title of the demo (parsed from SQL preamble).",
"type": "string"
},
"udf_rust": {
"description": "User defined function (UDF) Rust code.",
"type": "string"
},
"udf_toml": {
"description": "User defined function (UDF) TOML dependencies.",
"type": "string"
}
}
}Fields§
§description: StringDescription of the demo (parsed from SQL preamble).
name: StringName of the demo (parsed from SQL preamble).
program_code: StringProgram SQL code.
title: StringTitle of the demo (parsed from SQL preamble).
udf_rust: StringUser defined function (UDF) Rust code.
udf_toml: StringUser defined function (UDF) TOML dependencies.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Demo
impl<'de> Deserialize<'de> for Demo
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 Freeze for Demo
impl RefUnwindSafe for Demo
impl Send for Demo
impl Sync for Demo
impl Unpin for Demo
impl UnwindSafe for Demo
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