Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/avro-rs
/ functions
Functions
1,631 in github.com/apache/avro-rs
⨍
Functions
1,631
◇
Types & classes
404
Method
name
(&self)
avro/src/util.rs:46
Method
named
( ident: Ident, generics: Generics, name: &str, schema_expr: TokenStream,
avro_derive/src/implementation.rs:44
Function
nested_optional_record
()
avro/src/schema_compatibility.rs:540
Function
nested_record
()
avro/src/schema_compatibility.rs:536
Method
new
( ident: &Ident, attributes: &[Attribute], span: Span, )
avro_derive/src/attributes/mod.rs:38
Method
new
(secs: i64, nanos: i32)
avro_derive/tests/serde.rs:390
Method
new
(months: u32)
avro/src/duration.rs:33
Method
new
Create a `Record` given a `Schema`. If the `Schema` is not a `Schema::Record` variant, `None` will be returned.
avro/src/types.rs:224
Method
new
(compression_level: miniz_oxide::deflate::CompressionLevel)
avro/src/codec.rs:29
Method
new
Create a new checker, with recursion set to an empty set.
avro/src/schema_compatibility.rs:136
Method
new
(details: Details)
avro/src/error.rs:39
Method
new
( /// The schema that was used to write the Avro datum. #[builder(start_fn)] writer_sc
avro/src/reader/datum.rs:52
Method
new
Creates a `Reader` given something implementing the `io::Read` trait to read from. No reader `Schema` will be set. NOTE** The avro header is going to
avro/src/reader/mod.rs:60
Method
new
( schema: Schema, /// The expected header. #[builder(default = RabinFingerprintHeader:
avro/src/reader/single_object.rs:43
Method
new
( reader: R, schemata: Vec<&'r Schema>, human_readable: bool, )
avro/src/reader/block.rs:57
Method
new
( /// The schema for the data that will be written #[builder(start_fn)] schema: &'s Sc
avro/src/writer/datum.rs:49
Method
new
Creates a `Writer` given a `Schema` and something implementing the `io::Write` trait to write to. No compression `Codec` will be used.
avro/src/writer/mod.rs:113
Method
new
()
avro/src/writer/single_object.rs:132
Method
new
( input_schemas: HashMap<Name, Value>, input_order: Vec<Name>, parsed_schemas: Names,
avro/src/schema/parser.rs:44
Method
new
Resolve all references in this schema. If some references are to other schemas, see [`ResolvedSchema::new_with_schemata`].
avro/src/schema/resolve.rs:44
Method
new
Create a new `Name`. Parses the optional `namespace` from the `name` string. `aliases` will not be defined.
avro/src/schema/name.rs:67
Method
new
Creates a new `UnionSchema` from a vector of schemas. # Errors Will return an error if `schemas` has duplicate unnamed schemas or if `schemas` contai
avro/src/schema/union.rs:66
Method
new
(len: Option<usize>)
avro/src/serde/ser.rs:55
Method
new
(input: &'de Value)
avro/src/serde/de.rs:80
Method
new
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, )
avro/src/serde/ser_schema/mod.rs:93
Method
new
(writer: &'w mut W, union: &'s UnionSchema, config: Config<'s, S>)
avro/src/serde/ser_schema/union.rs:49
Method
new
( writer: &'w mut W, schema: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/tuple.rs:121
Method
new
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, len: Option<us
avro/src/serde/ser_schema/block.rs:75
Method
new
( writer: &'w mut W, record: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/record/mod.rs:51
Method
new
(value: &'v Value, schema: &'s Schema)
avro/src/serde/ser_schema/record/field_default.rs:33
Method
new
Create a new deserializer for this schema. This will resolve a [`Schema::Ref`] to its actual schema.
avro/src/serde/deser_schema/mod.rs:88
Method
new
( reader: &'r mut R, schema: &'s Schema, config: Config<'s, S>, )
avro/src/serde/deser_schema/tuple.rs:36
Method
new
(reader: &'r mut R, schema: &'s EnumSchema)
avro/src/serde/deser_schema/enums.rs:40
Method
new
(reader: &'r mut R, schema: &'s RecordSchema, config: Config<'s, S>)
avro/src/serde/deser_schema/record.rs:36
Method
new
(msg: &str)
avro/tests/shared.rs:72
Method
new_with_capacity
( schema: &Schema, initial_buffer_cap: usize, )
avro/src/writer/single_object.rs:44
Method
new_with_capacity_and_header_builder
( schema: &Schema, initial_buffer_cap: usize, header_builder: &HB, )
avro/src/writer/single_object.rs:52
Method
new_with_enclosing_namespace
Create a new `Name` using the namespace from `enclosing_namespace` if absent.
avro/src/schema/name.rs:72
Method
new_with_header_builder
(header_builder: &impl HeaderBuilder)
avro/src/writer/single_object.rs:146
Method
new_with_known_schemata
Creates `ResolvedSchema` with some already known schemas. Those schemata would be used to resolve references if needed.
avro/src/schema/resolve.rs:60
Method
new_with_schemata
Resolve all references in these schemas. TODO: Support this These schemas will be resolved in order, so references to schemas later in the list is no
avro/src/schema/resolve.rs:53
Method
newtype_variant_seed
(self, _seed: T)
avro/src/serde/de.rs:153
Method
newtype_variant_seed
(self, _: T)
avro/src/serde/deser_schema/enums.rs:76
Method
next_element_seed
(&mut self, seed: T)
avro/src/serde/de.rs:851
Method
next_element_seed
(&mut self, seed: T)
avro/src/serde/deser_schema/tuple.rs:60
Method
next_element_seed
(&mut self, seed: T)
avro/src/serde/deser_schema/block.rs:93
Method
next_entry_seed
( &mut self, kseed: K, vseed: V, )
avro/src/serde/deser_schema/block.rs:163
Method
next_key_seed
(&mut self, seed: K)
avro/src/serde/de.rs:865
Method
next_key_seed
(&mut self, seed: K)
avro/src/serde/deser_schema/record.rs:49
Method
next_key_seed
(&mut self, seed: K)
avro/src/serde/deser_schema/block.rs:125
Method
next_value_seed
(&mut self, seed: V)
avro/src/serde/de.rs:879
Method
next_value_seed
(&mut self, seed: V)
avro/src/serde/deser_schema/record.rs:64
Method
next_value_seed
(&mut self, seed: V)
avro/src/serde/deser_schema/block.rs:141
Function
null_compress_and_decompress
()
avro/src/codec.rs:301
Method
one
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, bytes_written:
avro/src/serde/ser_schema/tuple.rs:49
Method
one_union
(writer: &'w mut W, union: &'s UnionSchema, config: Config<'s, S>)
avro/src/serde/ser_schema/tuple.rs:63
Method
parse
Parse a `serde_json::Value` into a `Name`.
avro/src/schema/name.rs:112
Method
parse
Parse a `serde_json::Value` into a `RecordField`.
avro/src/schema/record/field.rs:85
Method
parse_as_native_complex
Try to parse this as a native complex type.
avro/src/schema/parser.rs:257
Method
parse_from_raw_avro
Create an instance of the struct based on parsing the UUID out of the header of a raw message Code for reading messages will most likely want to use
avro/src/headers.rs:86
Method
parse_list
Create an array of `Schema`s from an iterator of JSON Avro schemas. It is allowed that the schemas have cross-dependencies; these will be resolved du
avro/src/schema/parser.rs:70
Method
parse_reader
Create a `Schema` from a reader which implements [`Read`].
avro/src/schema/mod.rs:614
Method
parse_special_float
IEEE 754 NaN and infinities are not valid JSON numbers. So they are represented in JSON as strings.
avro/src/types.rs:990
Method
parse_str
Create a `Schema` from a string representing a JSON Avro schema.
avro/src/schema/parser.rs:62
Method
parse_str
Create a `Schema` from a string representing a JSON Avro schema.
avro/src/schema/mod.rs:528
Method
parse_str_with_list
Create a `Schema` from a string representing a JSON Avro schema, along with an array of `Schema`'s from a list of named JSON Avro schemas (Record, Enu
avro/src/schema/mod.rs:579
Method
parse_with_names
Parses an Avro schema from JSON. Any `Schema::Ref`s must be known in the `names` map.
avro/src/schema/mod.rs:630
Function
point_2d_fullname_schema
()
avro/src/schema_compatibility.rs:1167
Function
point_2d_schema
()
avro/src/schema_compatibility.rs:1155
Function
point_3d_match_name_schema
()
avro/src/schema_compatibility.rs:1205
Function
point_3d_no_default_schema
()
avro/src/schema_compatibility.rs:1179
Function
point_3d_schema
()
avro/src/schema_compatibility.rs:1192
Method
pointer_hash
Hash a schema based only on its pointer value.
avro/src/schema_compatibility.rs:167
Function
proc_macro_derive_avro_schema
Templated from Serde
avro_derive/src/lib.rs:48
Method
r#enum
( #[builder(start_fn)] name: Name, #[builder(start_fn)] symbols: Vec<impl Into<String>>,
avro/src/schema/builders.rs:58
Method
read_block_header
(reader: &mut R)
avro/src/serde/deser_schema/block.rs:74
Method
read_next
(&mut self, read_schema: Option<&Schema>)
avro/src/reader/block.rs:187
Method
read_next_deser
(&mut self)
avro/src/reader/mod.rs:133
Method
read_next_deser
( &mut self, reader_schema: Option<&Schema>, )
avro/src/reader/block.rs:218
Method
record
( #[builder(start_fn)] name: Name, #[builder(default)] fields: Vec<RecordField>, alias
avro/src/schema/builders.rs:101
Method
record
( writer: &'w mut W, schema: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/mod.rs:688
Method
recursive_type_check
(value: &Value, schema: &'s Schema)
avro/src/serde/ser_schema/record/field_default.rs:52
Method
regex
The regex used to validate the schema name. When the name part of the full name is provided as a capture group named `name`, the default implementati
avro/src/validator.rs:78
Method
regex
The regex used to validate the schema namespace. The default implementation uses the Avro specified regex.
avro/src/validator.rs:140
Method
regex
The regex used to validate the symbols of enums. The default implementation uses the Avro specified regex.
avro/src/validator.rs:193
Method
regex
The regex used to validate the record field names. The default implementation uses the Avro specified regex.
avro/src/validator.rs:244
Function
rename_fields
()
avro_derive/src/case.rs:208
Function
rename_variants
()
avro_derive/src/case.rs:170
Function
resolve_bytes_failure
()
avro/src/types.rs:1761
Function
resolve_bytes_ok
()
avro/src/types.rs:1728
Function
resolve_date
()
avro/src/types.rs:1830
Function
resolve_decimal_bytes
()
avro/src/types.rs:1767
Function
resolve_decimal_fixed
()
avro/src/types.rs:1808
Function
resolve_decimal_invalid_precision_for_length
()
avro/src/types.rs:1794
Function
resolve_decimal_invalid_scale
()
avro/src/types.rs:1780
Method
resolve_default_value
( field_schema: &Schema, field_name: &str, record_name: &str, names: &Names,
avro/src/schema/record/field.rs:135
Function
resolve_duration
()
avro/src/types.rs:1911
Function
resolve_string_from_bytes
()
avro/src/types.rs:1739
Function
resolve_string_from_fixed
()
avro/src/types.rs:1750
Function
resolve_time_micros
()
avro/src/types.rs:1844
← previous
next →
1,001–1,100 of 1,631, ranked by callers