aztec-nr - protocol_types::abis::tree_snapshots

Struct TreeSnapshots

pub struct TreeSnapshots {
    pub l1_to_l2_message_tree: AppendOnlyTreeSnapshot,
    pub note_hash_tree: AppendOnlyTreeSnapshot,
    pub nullifier_tree: AppendOnlyTreeSnapshot,
    pub public_data_tree: AppendOnlyTreeSnapshot,
}

Fields

l1_to_l2_message_tree: AppendOnlyTreeSnapshot
note_hash_tree: AppendOnlyTreeSnapshot
nullifier_tree: AppendOnlyTreeSnapshot
public_data_tree: AppendOnlyTreeSnapshot

Implementations

impl TreeSnapshots

pub fn to_partial_state_reference(self) -> PartialStateReference

Trait implementations

impl Deserialize for TreeSnapshots

pub fn deserialize(serialized: [Field; 8]) -> Self

impl Empty for TreeSnapshots

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for TreeSnapshots

pub fn eq(_self: Self, _other: Self) -> bool

impl Serialize for TreeSnapshots

pub fn serialize(self) -> [Field; 8]