Struct lsp_types::lsif::PackageInformation
source · pub struct PackageInformation {
pub name: String,
pub manager: String,
pub uri: Option<Url>,
pub content: Option<String>,
pub repository: Option<Repository>,
pub version: Option<String>,
}
Fields§
§name: String
§manager: String
§uri: Option<Url>
§content: Option<String>
§repository: Option<Repository>
§version: Option<String>
Trait Implementations§
source§impl Debug for PackageInformation
impl Debug for PackageInformation
source§impl<'de> Deserialize<'de> for PackageInformation
impl<'de> Deserialize<'de> for PackageInformation
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 PackageInformation
impl PartialEq for PackageInformation
source§fn eq(&self, other: &PackageInformation) -> bool
fn eq(&self, other: &PackageInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PackageInformation
impl Serialize for PackageInformation
impl StructuralPartialEq for PackageInformation
Auto Trait Implementations§
impl RefUnwindSafe for PackageInformation
impl Send for PackageInformation
impl Sync for PackageInformation
impl Unpin for PackageInformation
impl UnwindSafe for PackageInformation
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