pub struct ContractDigest(/* private fields */);Expand description
Identity of a crate::Program checked under one
crate::ValidationContract: equality mode, limits and termination law.
Implementations§
Trait Implementations§
Source§impl Clone for ContractDigest
impl Clone for ContractDigest
impl Copy for ContractDigest
Source§impl Debug for ContractDigest
impl Debug for ContractDigest
Source§impl<'de> Deserialize<'de> for ContractDigest
impl<'de> Deserialize<'de> for ContractDigest
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 ContractDigest
impl Display for ContractDigest
impl Eq for ContractDigest
Source§impl FromStr for ContractDigest
impl FromStr for ContractDigest
Source§impl Hash for ContractDigest
impl Hash for ContractDigest
Source§impl Ord for ContractDigest
impl Ord for ContractDigest
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContractDigest
impl PartialEq for ContractDigest
Source§impl PartialOrd for ContractDigest
impl PartialOrd for ContractDigest
Source§impl Serialize for ContractDigest
impl Serialize for ContractDigest
impl StructuralPartialEq for ContractDigest
Auto Trait Implementations§
impl Forget for ContractDigest
impl Freeze for ContractDigest
impl Move for ContractDigest
impl RefUnwindSafe for ContractDigest
impl Send for ContractDigest
impl Sync for ContractDigest
impl Unpin for ContractDigest
impl UnsafeUnpin for ContractDigest
impl UnwindSafe for ContractDigest
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