pub struct FormSpan {
pub column: String,
pub depth: u32,
pub end_column: String,
pub end_line: String,
pub end_offset: String,
pub head: Option<String>,
pub line: String,
pub path: Vec<String>,
pub start_offset: String,
}Expand description
One complete selected form in the original UTF-8 byte buffer.
JSON schema
{
"description": "One complete selected form in the original UTF-8 byte buffer.",
"type": "object",
"required": [
"column",
"depth",
"end_column",
"end_line",
"end_offset",
"line",
"path",
"start_offset"
],
"properties": {
"column": {
"type": "string"
},
"depth": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"end_column": {
"type": "string"
},
"end_line": {
"type": "string"
},
"end_offset": {
"type": "string"
},
"head": {
"type": "string"
},
"line": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"start_offset": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§column: String§depth: u32§end_column: String§end_line: String§end_offset: String§head: Option<String>§line: String§path: Vec<String>§start_offset: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for FormSpan
impl<'de> Deserialize<'de> for FormSpan
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 FormSpan
impl RefUnwindSafe for FormSpan
impl Send for FormSpan
impl Sync for FormSpan
impl Unpin for FormSpan
impl UnsafeUnpin for FormSpan
impl UnwindSafe for FormSpan
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