pub struct ReceiptTreeConfig {
pub max_depth: usize,
pub max_breadth: usize,
pub require_parent_links: bool,
}Fields§
§max_depth: usize§max_breadth: usize§require_parent_links: boolTrait Implementations§
Source§impl Clone for ReceiptTreeConfig
impl Clone for ReceiptTreeConfig
Source§fn clone(&self) -> ReceiptTreeConfig
fn clone(&self) -> ReceiptTreeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReceiptTreeConfig
Source§impl Debug for ReceiptTreeConfig
impl Debug for ReceiptTreeConfig
Source§impl Default for ReceiptTreeConfig
impl Default for ReceiptTreeConfig
Source§fn default() -> ReceiptTreeConfig
fn default() -> ReceiptTreeConfig
Returns the “default value” for a type. Read more
impl Eq for ReceiptTreeConfig
Source§impl PartialEq for ReceiptTreeConfig
impl PartialEq for ReceiptTreeConfig
Source§fn eq(&self, other: &ReceiptTreeConfig) -> bool
fn eq(&self, other: &ReceiptTreeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReceiptTreeConfig
Auto Trait Implementations§
impl Freeze for ReceiptTreeConfig
impl RefUnwindSafe for ReceiptTreeConfig
impl Send for ReceiptTreeConfig
impl Sync for ReceiptTreeConfig
impl Unpin for ReceiptTreeConfig
impl UnsafeUnpin for ReceiptTreeConfig
impl UnwindSafe for ReceiptTreeConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.