@ -408,7 +408,7 @@ impl From<bool> for DefaultTrue {
|
|||||||
#[derive(
|
#[derive(
|
||||||
Debug, Default, Eq, PartialEq, Copy, Clone, Deserialize, Serialize, JsonSchema, ts_rs::TS, Display, FromStr,
|
Debug, Default, Eq, PartialEq, Copy, Clone, Deserialize, Serialize, JsonSchema, ts_rs::TS, Display, FromStr,
|
||||||
)]
|
)]
|
||||||
#[cfg_attr(feature = "pyo3", pyo3::pyclass)]
|
#[cfg_attr(feature = "pyo3", pyo3::pyclass(eq, eq_int))]
|
||||||
#[ts(export)]
|
#[ts(export)]
|
||||||
#[serde(rename_all = "lowercase")]
|
#[serde(rename_all = "lowercase")]
|
||||||
#[display(style = "lowercase")]
|
#[display(style = "lowercase")]
|
||||||
|
|||||||
@ -13,7 +13,7 @@ mod tokeniser;
|
|||||||
|
|
||||||
/// The types of tokens.
|
/// The types of tokens.
|
||||||
#[derive(Debug, PartialEq, Eq, Copy, Clone, Deserialize, Serialize, ts_rs::TS, JsonSchema, FromStr, Display)]
|
#[derive(Debug, PartialEq, Eq, Copy, Clone, Deserialize, Serialize, ts_rs::TS, JsonSchema, FromStr, Display)]
|
||||||
#[cfg_attr(feature = "pyo3", pyo3::pyclass)]
|
#[cfg_attr(feature = "pyo3", pyo3::pyclass(eq, eq_int))]
|
||||||
#[ts(export)]
|
#[ts(export)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
#[display(style = "camelCase")]
|
#[display(style = "camelCase")]
|
||||||
|
|||||||
Reference in New Issue
Block a user