Function dsntk_common::gen_id
source · pub fn gen_id() -> StringExpand description
Returns a string representation of a random UUID v4.
Example
The string should be 36 characters long.
use dsntk_common::gen_id;
assert_eq!(36, gen_id().len());