pub struct SendTransactionsProofV1Builder { /* private fields */ }
Implementations§
Source§impl SendTransactionsProofV1Builder
impl SendTransactionsProofV1Builder
pub const FIELD_COUNT: usize = 6usize
pub fn last_header(self, v: VerifiableHeader) -> SendTransactionsProofV1Builder
pub fn proof(self, v: HeaderDigestVec) -> SendTransactionsProofV1Builder
pub fn filtered_blocks( self, v: FilteredBlockVec, ) -> SendTransactionsProofV1Builder
pub fn missing_tx_hashes(self, v: Byte32Vec) -> SendTransactionsProofV1Builder
pub fn blocks_uncles_hash(self, v: Byte32Vec) -> SendTransactionsProofV1Builder
pub fn blocks_extension(self, v: BytesOptVec) -> SendTransactionsProofV1Builder
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 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§
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