Searched refs:cddl_typename (Results 1 – 10 of 10) sorted by relevance
30 assert_eq!(NamedFields::cddl_typename().unwrap(), "NamedFields"); in test_derive_named_struct_roundtrip()43 assert_eq!(UnnamedFields::cddl_typename().unwrap(), "UnnamedFields"); in test_derive_unnamed_struct_roundtrip()60 assert_eq!(NumericEnum::cddl_typename().unwrap(), "NumericEnum"); in test_derive_numeric_enum_roundtrip()
332 fn cddl_typename() -> Option<String> { in cddl_typename() method345 if let Some(item_name) = Self::cddl_typename() { in cddl_ref()438 fn cddl_typename() -> Option<String> { in cddl_typename() method462 fn cddl_typename() -> Option<String> { in cddl_typename() method479 fn cddl_typename() -> Option<String> { in cddl_typename() method498 fn cddl_typename() -> Option<String> { in cddl_typename() method517 fn cddl_typename() -> Option<String> { in cddl_typename() method536 fn cddl_typename() -> Option<String> { in cddl_typename() method552 fn cddl_typename() -> Option<String> { in cddl_typename() method568 fn cddl_typename() -> Option<String> { in cddl_typename() method[all …]
499 fn cddl_typename() -> Option<alloc::string::String> {553 fn cddl_typename() -> Option<String> {591 fn cddl_typename() -> Option<String> {
121 fn cddl_typename() -> Option<String> { in cddl_typename() method708 fn cddl_typename() -> Option<String> { in cddl_typename() method
33 assert_eq!(<NamedFields>::cddl_typename().unwrap(), "NamedFields"); in test_cbor_value_cddl()100 assert_eq!(<UnnamedFields>::cddl_typename().unwrap(), "UnnamedFields"); in test_unnamed_cbor_value_cddl()
22 if let (Some(n), Some(s)) = (<T>::cddl_typename(), <T>::cddl_schema()) { in show_schema()
30 if let (Some(name), Some(schema)) = (<T>::cddl_typename(), <T>::cddl_schema()) { in add()
102 fn cddl_typename() -> Option<String> { in cddl_typename() method
418 fn cddl_typename() -> Option<String> { in cddl_typename() method
51 fn cddl_typename() -> Option<String> { in derive_as_cbor_value_internal()