Struct tetcore_subxt::ReadProof[][src]

pub struct ReadProof<Hash> {
    pub at: Hash,
    pub proof: Vec<Bytes>,
}

ReadProof struct returned by the RPC

Note

This is copied from tc-rpc-api to avoid a dependency on that crate. Therefore it must be kept compatible with that type from the target tetcore version.

Fields

at: Hash

Block hash used to generate the proof

proof: Vec<Bytes>

A proof used to prove that storage entries are included in the storage trie

Trait Implementations

impl<Hash: Debug> Debug for ReadProof<Hash>[src]

impl<'de, Hash> Deserialize<'de> for ReadProof<Hash> where
    Hash: Deserialize<'de>, 
[src]

impl<Hash: PartialEq> PartialEq<ReadProof<Hash>> for ReadProof<Hash>[src]

impl<Hash> Serialize for ReadProof<Hash> where
    Hash: Serialize
[src]

impl<Hash> StructuralPartialEq for ReadProof<Hash>[src]

Auto Trait Implementations

impl<Hash> RefUnwindSafe for ReadProof<Hash> where
    Hash: RefUnwindSafe

impl<Hash> Send for ReadProof<Hash> where
    Hash: Send

impl<Hash> Sync for ReadProof<Hash> where
    Hash: Sync

impl<Hash> Unpin for ReadProof<Hash> where
    Hash: Unpin

impl<Hash> UnwindSafe for ReadProof<Hash> where
    Hash: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> MaybeSerialize for T where
    T: Serialize
[src]

impl<T> MaybeSerializeDeserialize for T where
    T: DeserializeOwned + Serialize
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]