Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agavra/imprint
/ functions
Functions
50 in github.com/agavra/imprint
⨍
Functions
50
◇
Types & classes
17
↓ 39 callers
Method
add_field
Adds a field to the record being built.
src/writer.rs:26
↓ 15 callers
Method
build
Consumes the writer and builds an ImprintRecord.
src/writer.rs:32
↓ 11 callers
Method
project
(&self, field_ids: &[u16])
src/ops.rs:11
↓ 10 callers
Function
encode
Encode a u32 as a VarInt into the provided buffer
src/varint.rs:9
↓ 8 callers
Function
create_test_record
()
src/ops.rs:152
↓ 8 callers
Method
type_code
(&self)
src/types.rs:90
↓ 8 callers
Method
write
(&self, buf: &mut BytesMut)
src/serde.rs:36
↓ 7 callers
Function
decode
Decode a VarInt from the provided bytes, returning the value and number of bytes read
src/varint.rs:25
↓ 4 callers
Method
get_raw_bytes
Get the raw bytes for a field without deserializing
src/types.rs:335
↓ 4 callers
Method
get_value
Get a value by field ID, deserializing it on demand
src/types.rs:322
↓ 4 callers
Method
merge
(&self, other: &ImprintRecord)
src/ops.rs:85
↓ 3 callers
Method
to_imprint
(&self)
benches/data.rs:33
↓ 1 callers
Function
arb_primitive_value
Helper function to generate primitive Values
src/serde.rs:493
↓ 1 callers
Function
create_overlapping_records
()
src/ops.rs:427
Function
arb_homogeneous_array
Helper function to generate homogeneous arrays of a specific type
src/serde.rs:508
Function
arb_homogeneous_map
( key_gen: BoxedStrategy<MapKey>, value_gen: BoxedStrategy<Value>, )
src/serde.rs:514
Function
arb_simple_row
Helper function to generate a row with a single field
src/serde.rs:524
Function
arb_value
()
src/serde.rs:538
Method
as_map_key
Try to interpret this Value as a valid MapKey.
src/types.rs:107
Method
eq
(&self, other: &MapKey)
src/types.rs:203
Method
fake
(size: usize)
benches/data.rs:19
Method
fixed_width
(&self)
src/types.rs:42
Method
from
(b: bool)
src/types.rs:113
Method
new
(flags: u8)
src/types.rs:19
Method
new
Creates a new ImprintWriter with the given schema ID.
src/writer.rs:18
Function
ops_benchmark
(c: &mut Criterion)
benches/serde_bench.rs:30
Method
read
(type_code: TypeCode, mut bytes: Bytes)
src/serde.rs:152
Function
serde_benchmark
(c: &mut Criterion)
benches/serde_bench.rs:8
Function
should_deduplicate_requested_fields
()
src/ops.rs:271
Function
should_encode_known_values_correctly
()
src/varint.rs:99
Function
should_handle_empty_projection
()
src/ops.rs:243
Function
should_handle_error_cases
()
src/serde.rs:548
Function
should_handle_error_cases_correctly
()
src/varint.rs:128
Function
should_handle_projection_from_empty_record
()
src/ops.rs:284
Function
should_handle_single_field_projection
()
src/ops.rs:209
Function
should_ignore_nonexistent_fields
()
src/ops.rs:256
Function
should_maintain_field_order_regardless_of_input
()
src/ops.rs:186
Function
should_merge_records_with_distinct_fields
()
src/ops.rs:362
Function
should_merge_records_with_overlapping_fields
()
src/ops.rs:406
Function
should_preserve_all_fields_when_projecting_all
()
src/ops.rs:222
Function
should_preserve_exact_byte_representation
()
src/ops.rs:302
Function
should_preserve_schema_id_from_first_record
()
src/ops.rs:449
Function
should_project_subset_of_fields
()
src/ops.rs:168
Function
should_reduce_payload_size_when_projecting_subset
()
src/ops.rs:319
Function
should_roundtrip_common_u32_values
()
src/varint.rs:69
Function
test_duplicate_field_id
()
src/serde.rs:822
Function
test_map_key_eq_value
()
src/types.rs:355
Function
test_roundtrip_nested_record
()
src/serde.rs:593
Function
test_value_eq_map_key
()
src/types.rs:360
Method
try_from
(value: u8)
src/types.rs:55