Enum miden_client::store::NoteFilter
source · pub enum NoteFilter<'a> {
All,
Consumed,
Committed,
Expected,
Processing,
Ignored,
List(&'a [NoteId]),
Unique(NoteId),
}Variants§
All
Return a list of all notes (InputNoteRecord or OutputNoteRecord).
Consumed
Filter by consumed notes (InputNoteRecord or OutputNoteRecord). notes that have been used as inputs in transactions.
Committed
Return a list of committed notes (InputNoteRecord or OutputNoteRecord). These represent notes that the blockchain has included in a block, and for which we are storing anchor data.
Expected
Return a list of expected notes (InputNoteRecord or OutputNoteRecord). These represent notes for which the store does not have anchor data.
Processing
Return a list of notes that are currently being processed.
Ignored
Return a list of notes that the client ignores in sync.
List(&'a [NoteId])
Return a list containing the note that matches with the provided NoteId.
Unique(NoteId)
Return a list containing the note that matches with the provided NoteId.
Trait Implementations§
source§impl<'a> Clone for NoteFilter<'a>
impl<'a> Clone for NoteFilter<'a>
source§fn clone(&self) -> NoteFilter<'a>
fn clone(&self) -> NoteFilter<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for NoteFilter<'a>
impl<'a> RefUnwindSafe for NoteFilter<'a>
impl<'a> Send for NoteFilter<'a>
impl<'a> Sync for NoteFilter<'a>
impl<'a> Unpin for NoteFilter<'a>
impl<'a> UnwindSafe for NoteFilter<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)