Searched refs:cddl_typename (Results 1 – 10 of 10) sorted by relevance
16 assert_eq!(NamedFields::cddl_typename().unwrap(), "NamedFields"); in test_derive_named_struct_roundtrip()29 assert_eq!(UnnamedFields::cddl_typename().unwrap(), "UnnamedFields"); in test_derive_unnamed_struct_roundtrip()46 assert_eq!(NumericEnum::cddl_typename().unwrap(), "NumericEnum"); in test_derive_numeric_enum_roundtrip()
314 fn cddl_typename() -> Option<String> { in cddl_typename() method327 if let Some(item_name) = Self::cddl_typename() { in cddl_ref()420 fn cddl_typename() -> Option<String> { in cddl_typename() method444 fn cddl_typename() -> Option<String> { in cddl_typename() method461 fn cddl_typename() -> Option<String> { in cddl_typename() method480 fn cddl_typename() -> Option<String> { in cddl_typename() method499 fn cddl_typename() -> Option<String> { in cddl_typename() method518 fn cddl_typename() -> Option<String> { in cddl_typename() method534 fn cddl_typename() -> Option<String> { in cddl_typename() method550 fn cddl_typename() -> Option<String> { in cddl_typename() method[all …]
459 fn cddl_typename() -> Option<alloc::string::String> {513 fn cddl_typename() -> Option<String> {551 fn cddl_typename() -> Option<String> {
101 fn cddl_typename() -> Option<String> { in cddl_typename() method680 fn cddl_typename() -> Option<String> { in cddl_typename() method
19 assert_eq!(<NamedFields>::cddl_typename().unwrap(), "NamedFields"); in test_cbor_value_cddl()86 assert_eq!(<UnnamedFields>::cddl_typename().unwrap(), "UnnamedFields"); in test_unnamed_cbor_value_cddl()
8 if let (Some(n), Some(s)) = (<T>::cddl_typename(), <T>::cddl_schema()) { in show_schema()
16 if let (Some(name), Some(schema)) = (<T>::cddl_typename(), <T>::cddl_schema()) { in add()
84 fn cddl_typename() -> Option<String> { in cddl_typename() method
384 fn cddl_typename() -> Option<String> { in cddl_typename() method
37 fn cddl_typename() -> Option<String> { in derive_as_cbor_value_internal()