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
name: String
disambiguator: (u64, u64)
Trait Implementations
impl Debug for GlobalCrateId
[src]
impl Clone for GlobalCrateId
[src]
fn clone(&self) -> GlobalCrateId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Decodable for GlobalCrateId
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<GlobalCrateId, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl Encodable for GlobalCrateId
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl PartialEq for GlobalCrateId
[src]
fn eq(&self, __arg_0: &GlobalCrateId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlobalCrateId) -> bool
[src]
This method tests for !=
.