Struct rls_data::GlobalCrateId [−][src]
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 Decodable for GlobalCrateId
[src]
impl Decodable for GlobalCrateId
fn decode<__D: Decoder>(d: &mut __D) -> Result<GlobalCrateId, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<GlobalCrateId, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for GlobalCrateId
[src]
impl Encodable for GlobalCrateId
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Debug for GlobalCrateId
[src]
impl Debug for GlobalCrateId
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GlobalCrateId
[src]
impl Clone for GlobalCrateId
fn clone(&self) -> GlobalCrateId
[src]
fn clone(&self) -> GlobalCrateId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for GlobalCrateId
[src]
impl PartialEq for GlobalCrateId
fn eq(&self, other: &GlobalCrateId) -> bool
[src]
fn eq(&self, other: &GlobalCrateId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GlobalCrateId) -> bool
[src]
fn ne(&self, other: &GlobalCrateId) -> bool
This method tests for !=
.
impl Eq for GlobalCrateId
[src]
impl Eq for GlobalCrateId
impl Hash for GlobalCrateId
[src]
impl Hash for GlobalCrateId
Auto Trait Implementations
impl Send for GlobalCrateId
impl Send for GlobalCrateId
impl Sync for GlobalCrateId
impl Sync for GlobalCrateId