Ids
Primary-key values identifying the rows of a collection, used to target rows by ID in get, query, search, and delete operations.
pub enum Ids {
Int64(Vec<i64>),
VarChar(Vec<String>),
}
VARIANTS:
Int64Integer primary-key values.
VarCharString primary-key values.
METHODS:
len()(usize) -Returns the number of IDs.
is_empty()(bool) -Whether there are no IDs.
Example
let ids = Ids::Int64(vec![1, 2, 3]);