Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidhewitt/pythonize
/ TupleStruct
Class
TupleStruct
src/ser.rs:804–804 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
802
fn test_tuple_struct() {
803
#[derive(Serialize)]
804
struct TupleStruct(String, usize);
805
806
test_ser(TupleStruct(
"foo"
.to_string(), 5), r#
"["
foo
",5]"
#);
807
}
Callers
1
test_tuple_struct
Function · 0.70
Calls
no outgoing calls
Tested by
1
test_tuple_struct
Function · 0.56