pub enum ResponseColumnKind {
Numeric,
Binary,
Categorical {
levels: Vec<String>,
},
}Expand description
Caller-supplied description of the response column’s source kind.
Categorical { levels } flags a column that arrived as non-numeric strings
(the ingest layer encoded its levels to 0.0, 1.0, ... indices) — the
levels list is preserved so the auto-inference refusal can echo them
back to the user verbatim. Binary is the ingest-layer signal that a
numeric column already contains only {0, 1} (used to short-circuit the
scan inside ResponseFamily::infer_from_response). Numeric is the
generic continuous case.
Variants§
Trait Implementations§
Source§impl Clone for ResponseColumnKind
impl Clone for ResponseColumnKind
Source§fn clone(&self) -> ResponseColumnKind
fn clone(&self) -> ResponseColumnKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResponseColumnKind
impl RefUnwindSafe for ResponseColumnKind
impl Send for ResponseColumnKind
impl Sync for ResponseColumnKind
impl Unpin for ResponseColumnKind
impl UnsafeUnpin for ResponseColumnKind
impl UnwindSafe for ResponseColumnKind
Blanket Implementations§
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
Mutably borrows from an owned value. Read more