Class PublisherDetail
- Namespace
- DatabentoDotNet.Historical
- Assembly
- DatabentoDotNet.Historical.dll
The details about a publisher.
public sealed record PublisherDetail : IEquatable<PublisherDetail>
- Inheritance
-
PublisherDetail
- Implements
- Inherited Members
Remarks
Port of upstream's PublisherDetail (databento-rs/src/historical/metadata.rs:231-241).
Returned by metadata.list_publishers, which takes no parameters and returns every
publisher Databento currently defines.
Deliberately not mapped onto Publisher at the
DTO boundary. That table — and the matching Dataset
and Venue tables — is generated from the
dbn crate's publishers.rs at a pinned version, not from this endpoint, so it is
pinned to a release rather than tracking the live API. A publisher this response names that the
table cannot is Databento having shipped something newer than that pin, which is their news
rather than a bug here. So this type keeps the raw wire values, and a caller who wants the enum
asks for it explicitly — through
TryFromPublisher(ushort, out Publisher) and
PublisherWireStrings — and decides what to do when
the lookup fails.
Properties
Dataset
The dataset code for the publisher.
public required string Dataset { get; init; }
Property Value
Description
The publisher description.
public required string Description { get; init; }
Property Value
PublisherId
The publisher ID assigned by Databento, which denotes the dataset and venue.
public required ushort PublisherId { get; init; }
Property Value
Venue
The venue for the publisher.
public required string Venue { get; init; }