Home
last modified time | relevance | path

Searched refs:de_headers (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/csv/src/
Ddeserializer.rs817 fn de_headers<D: DeserializeOwned>( in de_headers() function
840 de_headers(&["x", "y", "z"], &["hi", "42", "1.3"]).unwrap(); in with_header()
853 assert!(de_headers::<Foo>( in with_header_unknown()
868 assert!(de_headers::<Foo>(&["y", "z"], &["42", "1.3"],).is_err()); in with_header_missing()
880 let got: Foo = de_headers(&["y", "z"], &["42", "1.3"]).unwrap(); in with_header_missing_ok()
893 let got = de_headers::<Foo>(&["y", "z"], &[]); in with_header_no_fields()
906 let got = de_headers::<Foo>(&[], &[]); in with_header_empty()
918 let got = de_headers::<Foo>(&[], &[]); in with_header_empty_ok()
921 let got = de_headers::<Bar>(&[], &[]); in with_header_empty_ok()
924 let got = de_headers::<()>(&[], &[]); in with_header_empty_ok()
[all …]