Struct freenet_stdlib::prelude::ContractInstanceId
source · #[repr(transparent)]pub struct ContractInstanceId(/* private fields */);
Expand description
The key representing the hash of the contract executable code hash and a set of parameters
.
Implementations§
Trait Implementations§
source§impl Clone for ContractInstanceId
impl Clone for ContractInstanceId
source§fn clone(&self) -> ContractInstanceId
fn clone(&self) -> ContractInstanceId
Returns a copy 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 ContractInstanceId
impl Debug for ContractInstanceId
source§impl<'de> Deserialize<'de> for ContractInstanceId
impl<'de> Deserialize<'de> for ContractInstanceId
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 Display for ContractInstanceId
impl Display for ContractInstanceId
source§impl<'a, T, U> From<(T, U)> for ContractInstanceIdwhere
T: Borrow<Parameters<'a>>,
U: Borrow<ContractCode<'a>>,
impl<'a, T, U> From<(T, U)> for ContractInstanceIdwhere T: Borrow<Parameters<'a>>, U: Borrow<ContractCode<'a>>,
source§impl From<ContractInstanceId> for ContractKey
impl From<ContractInstanceId> for ContractKey
source§fn from(instance: ContractInstanceId) -> Self
fn from(instance: ContractInstanceId) -> Self
Converts to this type from the input type.
source§impl From<ContractKey> for ContractInstanceId
impl From<ContractKey> for ContractInstanceId
source§fn from(key: ContractKey) -> Self
fn from(key: ContractKey) -> Self
Converts to this type from the input type.
source§impl FromStr for ContractInstanceId
impl FromStr for ContractInstanceId
source§impl Hash for ContractInstanceId
impl Hash for ContractInstanceId
source§impl PartialEq<ContractInstanceId> for ContractInstanceId
impl PartialEq<ContractInstanceId> for ContractInstanceId
source§fn eq(&self, other: &ContractInstanceId) -> bool
fn eq(&self, other: &ContractInstanceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContractInstanceId
impl Serialize for ContractInstanceId
source§impl TryFrom<String> for ContractInstanceId
impl TryFrom<String> for ContractInstanceId
impl Copy for ContractInstanceId
impl Eq for ContractInstanceId
impl StructuralEq for ContractInstanceId
impl StructuralPartialEq for ContractInstanceId
Auto Trait Implementations§
impl RefUnwindSafe for ContractInstanceId
impl Send for ContractInstanceId
impl Sync for ContractInstanceId
impl Unpin for ContractInstanceId
impl UnwindSafe for ContractInstanceId
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