Struct lsp2::lsif::PackageInformation
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§
§impl Debug for PackageInformation
impl Debug for PackageInformation
§impl<'de> Deserialize<'de> for PackageInformation
impl<'de> Deserialize<'de> for PackageInformation
§fn deserialize<__D>(
__deserializer: __D
) -> Result<PackageInformation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PackageInformation, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<PackageInformation> for PackageInformation
impl PartialEq<PackageInformation> for PackageInformation
§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 ==
.§impl Serialize for PackageInformation
impl Serialize for PackageInformation
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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