#[repr(C)]pub struct ContractEntry {
pub id: u64,
pub hash: u64,
}Expand description
One declaration’s fingerprint ({prefix}_contract_entry in C).
Fields§
§id: u64FNV-1a 64 of the declaration’s dotted path (kv.Store.put).
hash: u64FNV-1a 64 of the declaration’s canonical signature.
Implementations§
Trait Implementations§
Source§impl Clone for ContractEntry
impl Clone for ContractEntry
Source§fn clone(&self) -> ContractEntry
fn clone(&self) -> ContractEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContractEntry
Source§impl Debug for ContractEntry
impl Debug for ContractEntry
impl Eq for ContractEntry
Source§impl PartialEq for ContractEntry
impl PartialEq for ContractEntry
impl StructuralPartialEq for ContractEntry
Auto Trait Implementations§
impl Freeze for ContractEntry
impl RefUnwindSafe for ContractEntry
impl Send for ContractEntry
impl Sync for ContractEntry
impl Unpin for ContractEntry
impl UnsafeUnpin for ContractEntry
impl UnwindSafe for ContractEntry
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