Skip to main content

series_frame_label_decode

Function series_frame_label_decode 

Source
pub fn series_frame_label_decode(
    schema: &Schema,
) -> Result<Option<LabelDecodeSpec>>
Expand description

Recovers the label decode description a frame schema declares.

Returns None for an explicit-label frame, which must not declare one. A key-encoded frame must declare one, so a missing description is an error rather than a reason to reuse a caller-side binding; series_frame_schema and SeriesFrameDeclaration::parse enforce that both ways.