pub struct DemonstrativeExamplesItem {
pub entries: Vec<DemonstrativeExamplesItemEntriesItem>,
pub id: Option<String>,
}
Expand description
DemonstrativeExamplesItem
JSON schema
{
"type": "object",
"required": [
"Entries"
],
"properties": {
"Entries": {
"examples": [
[
{
"IntroText": "Short text at begining of example"
},
{
"ExampleCode": "A markdown representation of the code",
"Language": "PHP",
"Nature": "bad"
},
{
"BodyText": "Example text"
},
{
"ExampleCode": "A markdown representation of the code",
"Nature": "good"
},
{
"BodyText": "Example text"
},
{
"Reference": "REF-1990"
}
]
],
"type": "array",
"items": {
"type": "object",
"properties": {
"BodyText": {
"type": "string"
},
"ExampleCode": {
"type": "string"
},
"IntroText": {
"type": "string"
},
"Language": {
"type": "string"
},
"Nature": {
"type": "string"
},
"Reference": {
"type": "string"
}
},
"additionalProperties": false
}
},
"ID": {
"examples": [
"DX-60"
],
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§entries: Vec<DemonstrativeExamplesItemEntriesItem>
§id: Option<String>
Trait Implementations§
Source§impl Clone for DemonstrativeExamplesItem
impl Clone for DemonstrativeExamplesItem
Source§fn clone(&self) -> DemonstrativeExamplesItem
fn clone(&self) -> DemonstrativeExamplesItem
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 DemonstrativeExamplesItem
impl Debug for DemonstrativeExamplesItem
Source§impl<'de> Deserialize<'de> for DemonstrativeExamplesItem
impl<'de> Deserialize<'de> for DemonstrativeExamplesItem
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 From<&DemonstrativeExamplesItem> for DemonstrativeExamplesItem
impl From<&DemonstrativeExamplesItem> for DemonstrativeExamplesItem
Source§fn from(value: &DemonstrativeExamplesItem) -> Self
fn from(value: &DemonstrativeExamplesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DemonstrativeExamplesItem
impl RefUnwindSafe for DemonstrativeExamplesItem
impl Send for DemonstrativeExamplesItem
impl Sync for DemonstrativeExamplesItem
impl Unpin for DemonstrativeExamplesItem
impl UnwindSafe for DemonstrativeExamplesItem
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