struct DepFingerprint {
    pkg_id: u64,
    name: InternedString,
    public: bool,
    only_requires_rmeta: bool,
    fingerprint: Arc<Fingerprint>,
}
Expand description

Dependency edge information for fingerprints. This is generated for each dependency and is stored in a Fingerprint below.

Fields§

§pkg_id: u64

The hash of the package id that this dependency points to

§name: InternedString

The crate name we’re using for this dependency, which if we change we’ll need to recompile!

§public: bool

Whether or not this dependency is flagged as a public dependency or not.

§only_requires_rmeta: bool

Whether or not this dependency is an rmeta dependency or a “full” dependency. In the case of an rmeta dependency our dependency edge only actually requires the rmeta from what we depend on, so when checking mtime information all files other than the rmeta can be ignored.

§fingerprint: Arc<Fingerprint>

The dependency’s fingerprint we recursively point to, containing all the other hash information we’d otherwise need.

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes