pub struct InclProof {
pub merkle_path: TinyVec<MerklePathItem>,
}Expand description
Proof of inclusion.
Fields§
§merkle_path: TinyVec<MerklePathItem>Trait Implementations§
Source§impl ClientSideWitness for InclProof
impl ClientSideWitness for InclProof
Source§impl<'de> Deserialize<'de> for InclProof
impl<'de> Deserialize<'de> for InclProof
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
Source§impl From<Confined<Vec<MerklePathItem>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>> for InclProof
impl From<Confined<Vec<MerklePathItem>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>> for InclProof
Source§impl StrictDecode for InclProof
impl StrictDecode for InclProof
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictEncode for InclProof
impl StrictEncode for InclProof
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for InclProof
impl StrictStruct for InclProof
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for InclProof
impl StrictType for InclProof
const STRICT_LIB_NAME: &'static str = LIB_NAME_PRIME
fn strict_name() -> Option<TypeName>
impl Eq for InclProof
impl StrictProduct for InclProof
impl StructuralPartialEq for InclProof
Auto Trait Implementations§
impl Freeze for InclProof
impl RefUnwindSafe for InclProof
impl Send for InclProof
impl Sync for InclProof
impl Unpin for InclProof
impl UnwindSafe for InclProof
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.