pub struct RightId(pub Hash);Expand description
A unique Right identifier.
Computed as H(commitment || salt) to ensure uniqueness
even when the same state is committed to multiple times.
Tuple Fields§
§0: HashTrait Implementations§
Source§impl<'de> Deserialize<'de> for RightId
impl<'de> Deserialize<'de> for RightId
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
impl Eq for RightId
impl StructuralPartialEq for RightId
Auto Trait Implementations§
impl Freeze for RightId
impl RefUnwindSafe for RightId
impl Send for RightId
impl Sync for RightId
impl Unpin for RightId
impl UnsafeUnpin for RightId
impl UnwindSafe for RightId
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