Skip to main content

get

Function get 

Source
pub fn get(name: &str) -> Option<&'static str>
Expand description

Returns the raw JSON for the named schema ("definition" or "options"), or None if the name is unknown.

Companion to all: all() lists the names, get(name) fetches one. Mirrors the dicebear-styles crate’s API.