pub struct MetaData {
pub version: String,
pub project_root: Url,
pub position_encoding: Encoding,
pub tool_info: Option<ToolInfo>,
}
Fields§
§version: String
The version of the LSIF format using semver notation. See https://semver.org/. Please note the version numbers starting with 0 don’t adhere to semver and adopters have to assume that each new version is breaking.
project_root: Url
The project root (in form of an URI) used to compute this dump.
position_encoding: Encoding
The string encoding used to compute line and character values in positions and ranges.
tool_info: Option<ToolInfo>
Information about the tool that created the dump
Trait Implementations§
source§impl<'de> Deserialize<'de> for MetaData
impl<'de> Deserialize<'de> for MetaData
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 PartialEq for MetaData
impl PartialEq for MetaData
impl StructuralPartialEq for MetaData
Auto Trait Implementations§
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnwindSafe for MetaData
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