Expand description
Tenant identifier newtype, transported via the X-Org-Id HTTP header.
§Example
use api_bones::org_id::OrgId;
use api_bones::header_id::HeaderId;
let id = OrgId::generate();
assert_eq!(id.inner().get_version_num(), 4);
assert_eq!(OrgId::HEADER_NAME, "X-Org-Id");Structs§
- OrgId
- A UUID v4 tenant identifier, typically propagated via the
X-Org-IdHTTP header. - OrgPath
- An ordered org-path (root to self, inclusive), transported via
X-Org-Path.
Enums§
- OrgId
Error - Error returned when parsing an
OrgIdfrom a string fails.