polkadot_
parachain
4.0.0
In polkadot_
parachain::
chain_
spec::
people
polkadot_parachain
::
chain_spec
::
people
Function
ensure_id
Copy item path
Source
fn ensure_id(id: &
str
) ->
Result
<&
str
,
String
>
Expand description
Check if
id
satisfies People-like format.