Skip to main content

PropertySelector

Fields

FieldType
indexu8
offsetu8
lengthu8

ComparatorEnum

Fields

FieldType
EQu8
NEQu8
LTu8
LTEu8
GTu8
GTEu8

Select

Fields

FieldType
property_selectorPropertySelector
valueField
comparatoru8

Methods

new

Select::new(property_selector, value, comparator);

Parameters

NameType
property_selectorPropertySelector
valueField
comparatoru8

SortOrderEnum

Fields

FieldType
DESCu8
ASCu8

Sort

Fields

FieldType
property_selectorPropertySelector
orderu8

Methods

new

Sort::new(property_selector, order);

Parameters

NameType
property_selectorPropertySelector
orderu8

NoteStatusEnum

Fields

FieldType
ACTIVEu8
ACTIVE_OR_NULLIFIEDu8

Standalone Functions

return_all_notes

return_all_notes(notes, _p);

Parameters

NameType
notes[Option<Note>; MAX_NOTE_HASH_READ_REQUESTS_PER_CALL]
_pField

with_filter

with_filter(filter, FILTER_ARGS);

Parameters

NameType
filterfn([Option<Note>; MAX_NOTE_HASH_READ_REQUESTS_PER_CALL]
FILTER_ARGS

select

select(&mut self, property_selector, value, comparator);

Parameters

NameType
&mut self
property_selectorPropertySelector
valueT
comparatorOption<u8>

sort

sort(&mut self, property_selector, order);

Parameters

NameType
&mut self
property_selectorPropertySelector
orderu8

set_limit

set_limit(&mut self, limit);

Parameters

NameType
&mut self
limitu32

set_offset

set_offset(&mut self, offset);

Parameters

NameType
&mut self
offsetu32

set_status

set_status(&mut self, status);

Parameters

NameType
&mut self
statusu8