pub struct ColumnGroupSpec {
pub from: String,
pub header: String,
pub header_label: Option<String>,
pub value: Option<String>,
}Available on crate feature
transform-zip-columns only.Expand description
One positional column group of a ZipColumnsSpec.
Fields§
§from: StringField (dot path) of each row holding this group’s cell array
(dimensionValues). A row without it fails the page.
header: StringJSONPath, evaluated against the record, to this group’s header list
($.dimensionHeaders[*].name, or $.dimensionHeaders[*] with
header_label).
header_label: Option<String>Field of each header object to use as the column name, when header
matches objects rather than strings.
value: Option<String>Field (dot path) of each cell holding the value (value). Omit when
the cells are the values themselves. A cell without it yields null.
Trait Implementations§
Source§impl Clone for ColumnGroupSpec
impl Clone for ColumnGroupSpec
Source§impl Debug for ColumnGroupSpec
impl Debug for ColumnGroupSpec
Source§impl<'de> Deserialize<'de> for ColumnGroupSpec
impl<'de> Deserialize<'de> for ColumnGroupSpec
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ColumnGroupSpec
impl JsonSchema for ColumnGroupSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ColumnGroupSpec
impl PartialEq for ColumnGroupSpec
Source§impl Serialize for ColumnGroupSpec
impl Serialize for ColumnGroupSpec
impl StructuralPartialEq for ColumnGroupSpec
Auto Trait Implementations§
impl Freeze for ColumnGroupSpec
impl RefUnwindSafe for ColumnGroupSpec
impl Send for ColumnGroupSpec
impl Sync for ColumnGroupSpec
impl Unpin for ColumnGroupSpec
impl UnsafeUnpin for ColumnGroupSpec
impl UnwindSafe for ColumnGroupSpec
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
Mutably borrows from an owned value. Read more
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>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request