Class FieldDetail
- Namespace
- DatabentoDotNet.Historical
- Assembly
- DatabentoDotNet.Historical.dll
The details about a field in a schema.
public sealed record FieldDetail : IEquatable<FieldDetail>
- Inheritance
-
FieldDetail
- Implements
- Inherited Members
Remarks
Port of upstream's FieldDetail (databento-rs/src/historical/metadata.rs:259-266).
Returned by metadata.list_fields, one entry per field that an encoding/schema
combination carries.
Properties
Name
The field name.
public required string Name { get; init; }
Property Value
TypeName
The field type name.
[JsonPropertyName("type")]
public required string TypeName { get; init; }
Property Value
Remarks
type on the wire (metadata.rs:264). type is not a C# keyword — a
property named Type compiles cleanly, and SnakeCaseLower would map it to
type with no JsonPropertyNameAttribute needed at all. This is named
TypeName instead, with the attribute below to still hit the wire spelling: Type
reads as Type, and TypeName mirrors upstream's own
type_name (metadata.rs:265).