pub struct Partition {
pub coin: Option<String>,
pub coverage: Option<f64>,
pub days: Option<Vec<String>>,
pub is_open: Option<bool>,
pub last_time: Option<String>,
pub modified_at: Option<String>,
pub month: String,
pub rows: Option<i64>,
pub size_bytes: i64,
}Expand description
Partition.
Fields§
§coin: Option<String>Coin symbol, e.g. BTC. Absent (None) for market-wide (coinless)
datasets whose parquet is one row per month with no coin dimension —
none are currently published.
coverage: Option<f64>Fraction of the expected time-buckets that are populated (rows ÷
elapsed buckets) — the tradable-universe signal: the 1-minute grid is
trade-driven and gappy on thin coins, the hourly grids near-complete.
Present alongside rows; None elsewhere.
days: Option<Vec<String>>The YYYY-MM-DD day objects this partition is made of, when it is
day-backed. The open month has no single object: it is one parquet per
day until the month closes, and a download of it is one presigned URL per
entry here. Absent (from a v5 and older manifest) means the partition is a
single month object — the shape every finalised month has once compacted.
is_open: Option<bool>Whether this is the current, in-progress month. A finalised month is one
parquet; the open month is day-backed (see days) and has no month
object, so it is materialised continuously and grows under the customer.
Absent (None) in older (v1) manifests.
last_time: Option<String>RFC3339 UTC timestamp of the newest row in the partition’s data (the max
of the footers’ time statistics) — how far this partition’s data
reaches. The point of the field is the open month: it is updated as
the day arrives, so last_time tells a consumer that today’s bars are
already downloadable (and how far they run). For a finalised month it is
that month’s last bar. Present only on the time-series tiles, from v4
manifests; None elsewhere, and for a partition whose footer carries no
time statistics.
modified_at: Option<String>RFC3339 timestamp of the last write, if known.
month: StringPartition month, YYYY-MM.
rows: Option<i64>Row count (parquet num_rows). Present only for the time-series tiles
(gold_ohlcv_1m, gold_funding_1h, gold_positioning_1h) from v3
manifests; None elsewhere and in older manifests.
size_bytes: i64Parquet object size in bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Partition
impl<'de> Deserialize<'de> for Partition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for Partition
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnsafeUnpin for Partition
impl UnwindSafe for Partition
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more