Skip to main content

ResourceId

Type Alias ResourceId 

Source
pub type ResourceId = Uuid;
Expand description

RFC 4122 UUID v4 resource identifier.

See RFC 4122.

§Examples

use api_bones::common::ResourceId;
let id: ResourceId = uuid::Uuid::nil();
assert_eq!(id.to_string(), "00000000-0000-0000-0000-000000000000");

Aliased Type§

pub struct ResourceId(/* private fields */);