pub struct Hash256(pub [u8; 32]);Expand description
32バイトのハッシュ。catapult の Hash256。トランザクションやブロックのハッシュに使う。
文字列にするときは、Symbol の慣習に合わせて大文字の16進にする。
Tuple Fields§
§0: [u8; 32]Trait Implementations§
impl Copy for Hash256
impl Eq for Hash256
Source§impl Ord for Hash256
impl Ord for Hash256
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
Source§impl PartialOrd for Hash256
impl PartialOrd for Hash256
impl StructuralPartialEq for Hash256
Auto Trait Implementations§
impl Freeze for Hash256
impl RefUnwindSafe for Hash256
impl Send for Hash256
impl Sync for Hash256
impl Unpin for Hash256
impl UnsafeUnpin for Hash256
impl UnwindSafe for Hash256
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