aztec-nr - noir_aztec::protocol::abis::partial_state_reference

Struct PartialStateReference

pub struct PartialStateReference {
    pub note_hash_tree: AppendOnlyTreeSnapshot,
    pub nullifier_tree: AppendOnlyTreeSnapshot,
    pub public_data_tree: AppendOnlyTreeSnapshot,
}

A subset of TreeSnapshots that contains only the trees updated at the tx level. TODO: Rename to TxStateTreeSnapshots.

Fields

note_hash_tree: AppendOnlyTreeSnapshot
nullifier_tree: AppendOnlyTreeSnapshot
public_data_tree: AppendOnlyTreeSnapshot

Trait implementations

impl Deserialize for PartialStateReference

pub fn deserialize(fields: [Field; 6]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Empty for PartialStateReference

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

impl Eq for PartialStateReference

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

impl Serialize for PartialStateReference

pub fn serialize(self) -> [Field; 6] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)