-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
use nutype::nutype;
use serde::{Deserialize, Serialize};
use schemars::JsonSchema;
/// A valid user name.
#[nutype(
derive(PartialEq, Eq, Debug, Serialize, Deserialize, JsonSchema)
)]
pub struct Username<'a>(&'a str);appears to fail with
error: Deriving of trait `SchemarsJsonSchema` is not (yet) supported for an arbitrary type
Metadata
Metadata
Assignees
Labels
No labels