Skip to main content

CREATE_ID_PLACEHOLDER

Constant CREATE_ID_PLACEHOLDER 

Source
pub const CREATE_ID_PLACEHOLDER: &str = "pending";
Expand description

The id a /set create handler fills in before parsing the create object into its typed struct, whose id is required.

The builder passed to the backend overwrites it with the minted id, so it never reaches storage or the wire. It must still satisfy RFC 8620 ยง1.2 (at least 1 octet, URL-safe base64 alphabet) because deserializing an Id validates it.