pub struct PredictionBasisIdentityV4(/* private fields */);Expand description
Domain-separated identity of one canonical V4 prediction basis.
Implementations§
Source§impl PredictionBasisIdentityV4
impl PredictionBasisIdentityV4
Sourcepub const fn input_identity(&self) -> &InputIdentity
pub const fn input_identity(&self) -> &InputIdentity
SHA-256 and canonical-preimage byte count.
Trait Implementations§
Source§impl Clone for PredictionBasisIdentityV4
impl Clone for PredictionBasisIdentityV4
Source§fn clone(&self) -> PredictionBasisIdentityV4
fn clone(&self) -> PredictionBasisIdentityV4
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictionBasisIdentityV4
impl Debug for PredictionBasisIdentityV4
Source§impl<'de> Deserialize<'de> for PredictionBasisIdentityV4
impl<'de> Deserialize<'de> for PredictionBasisIdentityV4
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 PredictionBasisIdentityV4
impl StructuralPartialEq for PredictionBasisIdentityV4
Auto Trait Implementations§
impl Freeze for PredictionBasisIdentityV4
impl RefUnwindSafe for PredictionBasisIdentityV4
impl Send for PredictionBasisIdentityV4
impl Sync for PredictionBasisIdentityV4
impl Unpin for PredictionBasisIdentityV4
impl UnsafeUnpin for PredictionBasisIdentityV4
impl UnwindSafe for PredictionBasisIdentityV4
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