pub struct ContractCacheEntry {
pub contract_key: String,
pub cache_hash: u32,
pub cached_since: u64,
}
Fields§
§contract_key: String
Full contract key as string
cache_hash: u32
32-bit hash for proximity matching
cached_since: u64
When this contract was cached (Unix timestamp)
Trait Implementations§
Source§impl Clone for ContractCacheEntry
impl Clone for ContractCacheEntry
Source§fn clone(&self) -> ContractCacheEntry
fn clone(&self) -> ContractCacheEntry
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 ContractCacheEntry
impl Debug for ContractCacheEntry
Source§impl<'de> Deserialize<'de> for ContractCacheEntry
impl<'de> Deserialize<'de> for ContractCacheEntry
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
Auto Trait Implementations§
impl Freeze for ContractCacheEntry
impl RefUnwindSafe for ContractCacheEntry
impl Send for ContractCacheEntry
impl Sync for ContractCacheEntry
impl Unpin for ContractCacheEntry
impl UnwindSafe for ContractCacheEntry
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