pub struct CandidateFamilyId(/* private fields */);Expand description
Domain-separated family shared by replacements at one competition point.
Implementations§
Source§impl CandidateFamilyId
impl CandidateFamilyId
pub fn from_hash(hash: ObjectHash) -> Self
pub fn as_hash(self) -> ObjectHash
pub fn derive( store_root_hash: ObjectHash, author_registration: &StoreDeviceRegistrationRef, write_id: &WriteId, order: &StoreCommitOrder, ) -> Self
Trait Implementations§
Source§impl Clone for CandidateFamilyId
impl Clone for CandidateFamilyId
Source§fn clone(&self) -> CandidateFamilyId
fn clone(&self) -> CandidateFamilyId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CandidateFamilyId
impl Debug for CandidateFamilyId
Source§impl<'de> Deserialize<'de> for CandidateFamilyId
impl<'de> Deserialize<'de> for CandidateFamilyId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CandidateFamilyId
impl Hash for CandidateFamilyId
Source§impl Ord for CandidateFamilyId
impl Ord for CandidateFamilyId
Source§fn cmp(&self, other: &CandidateFamilyId) -> Ordering
fn cmp(&self, other: &CandidateFamilyId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CandidateFamilyId
impl PartialEq for CandidateFamilyId
Source§impl PartialOrd for CandidateFamilyId
impl PartialOrd for CandidateFamilyId
Source§impl Serialize for CandidateFamilyId
impl Serialize for CandidateFamilyId
impl Copy for CandidateFamilyId
impl Eq for CandidateFamilyId
impl StructuralPartialEq for CandidateFamilyId
Auto Trait Implementations§
impl Freeze for CandidateFamilyId
impl RefUnwindSafe for CandidateFamilyId
impl Send for CandidateFamilyId
impl Sync for CandidateFamilyId
impl Unpin for CandidateFamilyId
impl UnsafeUnpin for CandidateFamilyId
impl UnwindSafe for CandidateFamilyId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.