Skip to main content

KnownValues

Type Alias KnownValues 

Source
pub type KnownValues = (&'static str, &'static [&'static str]);
Expand description

A documented string’s known values, keyed by where the description puts it.

The path is where the description puts the enumeration: Key.keyType for a property of a named schema, Webhook.subscriptions[] for an array’s items, LogType for an enumeration that is a schema in its own right, ?fields for a parameter the whole document shares, and POST /tailnet/{tailnet}/keys body.keyType for one belonging to a single call.