pub struct SExpressionScanResultA0 {
pub diagnostics: Vec<Diagnostic>,
pub forms: Vec<FormSpan>,
pub source_bytes: String,
pub type_: String,
pub version: String,
}Expand description
Result envelope; selected source bytes remain in the caller-owned input buffer.
JSON schema
{
"$id": "urn:wavenumber:schema:kicad_monkey.sexpr_scan.result:a0",
"title": "S-expression scan result a0",
"description": "Result envelope; selected source bytes remain in the caller-owned input buffer.",
"type": "object",
"required": [
"diagnostics",
"forms",
"source_bytes",
"type",
"version"
],
"properties": {
"diagnostics": {
"type": "array",
"items": {
"$ref": "#/$defs/Diagnostic"
}
},
"forms": {
"type": "array",
"items": {
"$ref": "#/$defs/FormSpan"
}
},
"source_bytes": {
"type": "string"
},
"type": {
"type": "string",
"const": "kicad_monkey.sexpr_scan.result"
},
"version": {
"type": "string",
"const": "a0"
}
},
"additionalProperties": false
}Fields§
§diagnostics: Vec<Diagnostic>§forms: Vec<FormSpan>§source_bytes: String§type_: String§version: StringTrait Implementations§
Source§impl Clone for SExpressionScanResultA0
impl Clone for SExpressionScanResultA0
Source§fn clone(&self) -> SExpressionScanResultA0
fn clone(&self) -> SExpressionScanResultA0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SExpressionScanResultA0
impl Debug for SExpressionScanResultA0
Source§impl<'de> Deserialize<'de> for SExpressionScanResultA0
impl<'de> Deserialize<'de> for SExpressionScanResultA0
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 SExpressionScanResultA0
impl RefUnwindSafe for SExpressionScanResultA0
impl Send for SExpressionScanResultA0
impl Sync for SExpressionScanResultA0
impl Unpin for SExpressionScanResultA0
impl UnsafeUnpin for SExpressionScanResultA0
impl UnwindSafe for SExpressionScanResultA0
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