Struct RetrievedNote
pub struct RetrievedNote<Note> {
pub note: Note,
pub contract_address: AztecAddress,
pub owner: AztecAddress,
pub randomness: Field,
pub metadata: NoteMetadata,
}
Fields
note: Notecontract_address: AztecAddressowner: AztecAddressrandomness: Fieldmetadata: NoteMetadataTrait implementations
impl<Note> Deserialize for RetrievedNote<Note>
where
Note: Deserialize
where
Note: Deserialize
pub fn deserialize(
serialized: [Field; <(resolved type) as Deserialize>::N + 5],
) -> Self
impl<Note> Eq for RetrievedNote<Note>
where
Note: Eq
where
Note: Eq
pub fn eq(_self: Self, _other: Self) -> bool
impl<Note> Packable for RetrievedNote<Note>
where
Note: Packable
where
Note: Packable
pub fn pack(self) -> [Field; <(resolved type) as Packable>::N + 5]
pub fn unpack(packed: [Field; <(resolved type) as Packable>::N + 5]) -> Self
impl<Note> Serialize for RetrievedNote<Note>
where
Note: Serialize
where
Note: Serialize
pub fn serialize(self) -> [Field; <(resolved type) as Serialize>::N + 5]
A container of a note and the metadata that is along with a storage slot required to prove existence of the note, regardless of whether the note is pending (created in the current transaction) or settled (created in a previous transaction).