Struct rls_data::GlobalCrateId [] [src]

pub struct GlobalCrateId {
    pub name: String,
    pub disambiguator: (u64, u64),
}

Crate name, along with its disambiguator (128-bit hash) represents a globally unique crate identifier, which should allow for differentiation between different crate targets or versions and should point to the same crate when pulled by different other, dependent crates.

Fields

Trait Implementations

impl Debug for GlobalCrateId
[src]

[src]

Formats the value using the given formatter.

impl Clone for GlobalCrateId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Decodable for GlobalCrateId
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for GlobalCrateId
[src]

[src]

Serialize a value using an Encoder.

impl PartialEq for GlobalCrateId
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for GlobalCrateId
[src]

impl Hash for GlobalCrateId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more