Struct sc_rpc::state::ReadProof[][src]

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

ReadProof struct returned by the RPC

Fields

at: Hash

Block hash used to generate the proof

proof: Vec<Bytes, Global>

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

Trait Implementations

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

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

impl<Hash> PartialEq<ReadProof<Hash>> for ReadProof<Hash> where
    Hash: PartialEq<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
[src]

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

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

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

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

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> 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, 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
[src]

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
    S: TryInto<T>,
    T: Bounded

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