pub struct BlockEncoding {
pub len_encoding: LenEncoding,
pub transaction_bodies_encoding: LenEncoding,
pub transaction_witness_sets_encoding: LenEncoding,
pub auxiliary_data_set_encoding: LenEncoding,
pub auxiliary_data_set_key_encodings: BTreeMap<u16, Option<Sz>>,
pub invalid_transactions_encoding: LenEncoding,
pub invalid_transactions_elem_encodings: Vec<Option<Sz>>,
}Fields§
§len_encoding: LenEncoding§transaction_bodies_encoding: LenEncoding§transaction_witness_sets_encoding: LenEncoding§auxiliary_data_set_encoding: LenEncoding§auxiliary_data_set_key_encodings: BTreeMap<u16, Option<Sz>>§invalid_transactions_encoding: LenEncoding§invalid_transactions_elem_encodings: Vec<Option<Sz>>Trait Implementations§
Source§impl Clone for BlockEncoding
impl Clone for BlockEncoding
Source§fn clone(&self) -> BlockEncoding
fn clone(&self) -> BlockEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockEncoding
impl Debug for BlockEncoding
Source§impl Default for BlockEncoding
impl Default for BlockEncoding
Source§fn default() -> BlockEncoding
fn default() -> BlockEncoding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockEncoding
impl RefUnwindSafe for BlockEncoding
impl Send for BlockEncoding
impl Sync for BlockEncoding
impl Unpin for BlockEncoding
impl UnsafeUnpin for BlockEncoding
impl UnwindSafe for BlockEncoding
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more