pub struct ContractHostingEntry {
pub contract_key: String,
pub hosting_hash: u32,
pub hosted_since: u64,
}Fields§
§contract_key: StringFull contract key as string
hosting_hash: u3232-bit hash for proximity matching
hosted_since: u64When this contract was first hosted (Unix timestamp)
Trait Implementations§
Source§impl Clone for ContractHostingEntry
impl Clone for ContractHostingEntry
Source§fn clone(&self) -> ContractHostingEntry
fn clone(&self) -> ContractHostingEntry
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 ContractHostingEntry
impl Debug for ContractHostingEntry
Source§impl<'de> Deserialize<'de> for ContractHostingEntry
impl<'de> Deserialize<'de> for ContractHostingEntry
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 ContractHostingEntry
impl RefUnwindSafe for ContractHostingEntry
impl Send for ContractHostingEntry
impl Sync for ContractHostingEntry
impl Unpin for ContractHostingEntry
impl UnsafeUnpin for ContractHostingEntry
impl UnwindSafe for ContractHostingEntry
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