pub struct Index {
pub name: String,
pub version: Version,
pub mapping: BTreeMap<String, String>,
pub std: bool,
}
Expand description
Parsed crate index that contains the mappings from SimplePath
s to their URL for direct
linking.
Fields§
§name: String
Name of the crate.
version: Version
Version of the crate.
mapping: BTreeMap<String, String>
Mapping from simple paths to URL paths.
std: bool
Whether this index is for the standard library.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Index
impl<'de> Deserialize<'de> for Index
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<Index> for Index
impl PartialEq<Index> for Index
impl Eq for Index
impl StructuralEq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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