pub struct ProofHash(pub [u8; 64]);Expand description
証明から求めた64バイトのハッシュ。IETF の draft の beta。
Tuple Fields§
§0: [u8; 64]Implementations§
Source§impl ProofHash
impl ProofHash
Sourcepub fn generation_hash(&self) -> GenerationHash
pub fn generation_hash(&self) -> GenerationHash
前半の32バイトを generation hash にする。catapult の model::CalculateGenerationHash。
Trait Implementations§
impl Copy for ProofHash
impl Eq for ProofHash
impl StructuralPartialEq for ProofHash
Auto Trait Implementations§
impl Freeze for ProofHash
impl RefUnwindSafe for ProofHash
impl Send for ProofHash
impl Sync for ProofHash
impl Unpin for ProofHash
impl UnsafeUnpin for ProofHash
impl UnwindSafe for ProofHash
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