pub struct MappingNotes {
pub comments: String,
pub rationale: String,
pub reasons: Vec<String>,
pub suggestions: Option<String>,
pub usage: String,
}
Expand description
MappingNotes
JSON schema
{
"type": "object",
"required": [
"Comments",
"Rationale",
"Reasons",
"Usage"
],
"properties": {
"Comments": {
"examples": [
"Comments on the mapping"
],
"type": "string"
},
"Rationale": {
"examples": [
"A brief explanation on mapping rationale"
],
"type": "string"
},
"Reasons": {
"examples": [
[
"Acceptable-Use",
"Other"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"Suggestions": {
"examples": [
"High"
],
"type": "string"
},
"Usage": {
"examples": [
"allowed"
],
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§comments: String
§rationale: String
§reasons: Vec<String>
§suggestions: Option<String>
§usage: String
Trait Implementations§
Source§impl Clone for MappingNotes
impl Clone for MappingNotes
Source§fn clone(&self) -> MappingNotes
fn clone(&self) -> MappingNotes
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 MappingNotes
impl Debug for MappingNotes
Source§impl<'de> Deserialize<'de> for MappingNotes
impl<'de> Deserialize<'de> for MappingNotes
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<&MappingNotes> for MappingNotes
impl From<&MappingNotes> for MappingNotes
Source§fn from(value: &MappingNotes) -> Self
fn from(value: &MappingNotes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MappingNotes
impl RefUnwindSafe for MappingNotes
impl Send for MappingNotes
impl Sync for MappingNotes
impl Unpin for MappingNotes
impl UnwindSafe for MappingNotes
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