Struct cargo_doc2readme::depinfo::DependencyInfoV1
source · [−]struct DependencyInfoV1 {
markdown_version: u8,
template_hash: Hash,
rustdoc_hash: Hash,
dependencies: BTreeSet<Dependency>,
}
Fields
markdown_version: u8
The version of the markdown output. If there are significant changes made to the markdown output that require to re-run this tool eventhough none of the inputs has changed, this version should be increased.
template_hash: Hash
The blake3 hash of the template file.
rustdoc_hash: Hash
The blake3 hash of the input rustdoc.
dependencies: BTreeSet<Dependency>
The versions of dependencies that are used for link generation. The first entry of the tuple is the dependency name on crates.io, the second is the version, and the third is the dependency name as seen in Rust code (or missing if it is equivalent to the dependency name on crates.io).
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DependencyInfoV1
impl<'de> Deserialize<'de> for DependencyInfoV1
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 Serialize for DependencyInfoV1
impl Serialize for DependencyInfoV1
Auto Trait Implementations
impl RefUnwindSafe for DependencyInfoV1
impl Send for DependencyInfoV1
impl Sync for DependencyInfoV1
impl Unpin for DependencyInfoV1
impl UnwindSafe for DependencyInfoV1
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