aztec-nr - protocol_types::abis::note_hash

Struct NoteHash

pub struct NoteHash {
    pub value: Field,
    pub counter: u32,
}

Fields

value: Field
counter: u32

Implementations

impl NoteHash

pub fn scope(self, contract_address: AztecAddress) -> ScopedNoteHash

Trait implementations

impl Deserialize for NoteHash

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

impl Empty for NoteHash

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

impl Eq for NoteHash

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

impl Ordered for NoteHash

pub fn counter(self) -> u32

impl Serialize for NoteHash

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