Struct plutus_ledger_api::v1::datum::DatumHash
source · pub struct DatumHash(pub LedgerBytes);
Expand description
blake2b-256 hash of a datum
Tuple Fields§
§0: LedgerBytes
Trait Implementations§
source§impl IsPlutusData for DatumHash
impl IsPlutusData for DatumHash
fn to_plutus_data(&self) -> PlutusData
fn from_plutus_data(data: &PlutusData) -> Result<Self, PlutusDataError>
source§impl Ord for DatumHash
impl Ord for DatumHash
source§impl PartialEq for DatumHash
impl PartialEq for DatumHash
source§impl PartialOrd for DatumHash
impl PartialOrd for DatumHash
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DatumHash
impl StructuralPartialEq for DatumHash
Auto Trait Implementations§
impl Freeze for DatumHash
impl RefUnwindSafe for DatumHash
impl Send for DatumHash
impl Sync for DatumHash
impl Unpin for DatumHash
impl UnwindSafe for DatumHash
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