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 GlobalCrateIdfn 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 GlobalCrateIdfn 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 GlobalCrateIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for GlobalCrateId[src]
impl Clone for GlobalCrateIdfn clone(&self) -> GlobalCrateId[src]
fn clone(&self) -> GlobalCrateIdReturns 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 GlobalCrateIdfn eq(&self, other: &GlobalCrateId) -> bool[src]
fn eq(&self, other: &GlobalCrateId) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for GlobalCrateId[src]
impl Eq for GlobalCrateIdimpl Hash for GlobalCrateId[src]
impl Hash for GlobalCrateIdAuto Trait Implementations
impl Send for GlobalCrateId
impl Send for GlobalCrateIdimpl Sync for GlobalCrateId
impl Sync for GlobalCrateId