Skip to main content

list_order_numbers

Function list_order_numbers 

Source
fn list_order_numbers(
    before_ids: Option<&[Uuid]>,
    after: &[(Uuid, Option<i32>)],
) -> Vec<Option<i32>>
Expand description

New order numbers for the list after (entries with their current number, None if new), or all None (keep every number) when the order equals before_ids. A list with no before_ids is renumbered.