[][src]Function ruma_identifiers::device_id::generate

pub fn generate() -> DeviceId
This is supported on feature="rand" only.

Generates a random DeviceId, suitable for assignment to a new device.