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
sourceimpl Debug for PackageInformation
impl Debug for PackageInformation
sourceimpl<'de> Deserialize<'de> for PackageInformation
impl<'de> Deserialize<'de> for PackageInformation
sourcefn 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
sourceimpl PartialEq<PackageInformation> for PackageInformation
impl PartialEq<PackageInformation> for PackageInformation
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PackageInformation) -> bool
fn ne(&self, other: &PackageInformation) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more