PropertySelector
Fields
Field | Type |
---|---|
pub index | u8, // index of the field in the serialized note array |
pub offset | u8, // offset in the byte representation of the field (selected with index above) from which to reading |
pub length | u8, // number of bytes to read after the offset |
Select
Fields
Field | Type |
---|---|
pub(crate) property_selector | PropertySelector |
pub(crate) comparator | u8 |
pub(crate) value | Field |
Methods
new
The selected property will be the left hand side and value the right hand side of the operation, so e.g. the object created by new(property, Comparator.GT, value) represents 'property > value'.
Select::new(property_selector, comparator, value);
Parameters
Name | Type |
---|---|
property_selector | PropertySelector |
comparator | u8 |
value | Field |
SortOrderEnum
Fields
Field | Type |
---|---|
pub DESC | u8 |
pub ASC | u8 |
Sort
Fields
Field | Type |
---|---|
pub(crate) property_selector | PropertySelector |
pub(crate) order | u8 |
Methods
new
Sort::new(property_selector, order);
Parameters
Name | Type |
---|---|
property_selector | PropertySelector |
order | u8 |