Skip to main content

set_deterministic_uuids

Function set_deterministic_uuids 

Source
pub fn set_deterministic_uuids(seed: Option<u64>)
Expand description

Activate (or clear) the deterministic UUID fallback used by model constructors. Some(seed) resets the counter and makes next_document_id return seeded sequential UUIDs; None restores Uuid::now_v7().