Struct RetrievedNote
pub struct RetrievedNote<Note> {
pub note: Note,
pub contract_address: AztecAddress,
pub randomness: Field,
pub metadata: NoteMetadata,
}
Fields
note: Notecontract_address: 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 + 4],
) -> 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 + 4]
pub fn unpack(packed: [Field; <(resolved type) as Packable>::N + 4]) -> Self
impl<Note> Serialize for RetrievedNote<Note>
where
Note: Serialize
where
Note: Serialize
pub fn serialize(self) -> [Field; <(resolved type) as Serialize>::N + 4]
A container of a note and the metadata required to prove its existence, regardless of whether the note is pending (created in the current transaction) or settled (created in a previous transaction).