pub struct SendTransactionsProofV1Builder { /* private fields */ }Implementations§
Source§impl SendTransactionsProofV1Builder
impl SendTransactionsProofV1Builder
pub const FIELD_COUNT: usize = 6usize
pub fn last_header<T>(self, v: T) -> SendTransactionsProofV1Builderwhere
T: Into<VerifiableHeader>,
pub fn proof<T>(self, v: T) -> SendTransactionsProofV1Builderwhere
T: Into<HeaderDigestVec>,
pub fn filtered_blocks<T>(self, v: T) -> SendTransactionsProofV1Builderwhere
T: Into<FilteredBlockVec>,
pub fn missing_tx_hashes<T>(self, v: T) -> SendTransactionsProofV1Builder
pub fn blocks_uncles_hash<T>(self, v: T) -> SendTransactionsProofV1Builder
pub fn blocks_extension<T>(self, v: T) -> SendTransactionsProofV1Builderwhere
T: Into<BytesOptVec>,
Trait Implementations§
Source§impl Builder for SendTransactionsProofV1Builder
impl Builder for SendTransactionsProofV1Builder
const NAME: &'static str = "SendTransactionsProofV1Builder"
type Entity = SendTransactionsProofV1
fn expected_length(&self) -> usize
fn write<W>(&self, writer: &mut W) -> Result<(), Error>where
W: Write,
fn build(&self) -> <SendTransactionsProofV1Builder as Builder>::Entity
Source§impl Clone for SendTransactionsProofV1Builder
impl Clone for SendTransactionsProofV1Builder
Source§fn clone(&self) -> SendTransactionsProofV1Builder
fn clone(&self) -> SendTransactionsProofV1Builder
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SendTransactionsProofV1Builder
impl Default for SendTransactionsProofV1Builder
Source§fn default() -> SendTransactionsProofV1Builder
fn default() -> SendTransactionsProofV1Builder
Returns the “default value” for a type. Read more
Source§impl ProverMessageBuilder for SendTransactionsProofV1Builder
impl ProverMessageBuilder for SendTransactionsProofV1Builder
Source§type ProvedItems = (FilteredBlockVec, Byte32Vec, BytesOptVec)
type ProvedItems = (FilteredBlockVec, Byte32Vec, BytesOptVec)
The type of the proved items.
Source§type MissingItems = Byte32Vec
type MissingItems = Byte32Vec
The type of the missing items.
Source§fn set_last_header(self, last_header: VerifiableHeader) -> Self
fn set_last_header(self, last_header: VerifiableHeader) -> Self
Set the verifiable header which includes the chain root.
Source§fn set_proof(self, proof: HeaderDigestVec) -> Self
fn set_proof(self, proof: HeaderDigestVec) -> Self
Set the proof for all items which require verifying.
Source§fn set_proved_items(self, items: Self::ProvedItems) -> Self
fn set_proved_items(self, items: Self::ProvedItems) -> Self
Set the proved items.
Source§fn set_missing_items(self, items: Self::MissingItems) -> Self
fn set_missing_items(self, items: Self::MissingItems) -> Self
Set the missing items.
Auto Trait Implementations§
impl !Freeze for SendTransactionsProofV1Builder
impl RefUnwindSafe for SendTransactionsProofV1Builder
impl Send for SendTransactionsProofV1Builder
impl Sync for SendTransactionsProofV1Builder
impl Unpin for SendTransactionsProofV1Builder
impl UnwindSafe for SendTransactionsProofV1Builder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)