pub struct ExplodeColumn {
pub field: String,
pub kind: Option<String>,
pub index: bool,
}Expand description
One column in an ExplodeSpec’s derived table.
Fields§
§field: StringJSON key under each array element. Becomes the column name in the derived SQLite table — we don’t rename.
kind: Option<String>SQLite affinity: "text" (default), "integer", "real".
Storage maps directly via sqlx::query.bind(...); type
mismatches at INSERT-time fail loudly rather than silently
dropping the row.
index: boolWhen true, the projector creates a CREATE INDEX on this
column at table-creation time. Boost for the common-filter
columns (name, version) — operators mark them
explicitly, the projector won’t guess.
Trait Implementations§
Source§impl Clone for ExplodeColumn
impl Clone for ExplodeColumn
Source§fn clone(&self) -> ExplodeColumn
fn clone(&self) -> ExplodeColumn
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 moreSource§impl Debug for ExplodeColumn
impl Debug for ExplodeColumn
Source§impl<'de> Deserialize<'de> for ExplodeColumn
impl<'de> Deserialize<'de> for ExplodeColumn
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 ExplodeColumn
impl JsonSchema for ExplodeColumn
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 moreAuto Trait Implementations§
impl Freeze for ExplodeColumn
impl RefUnwindSafe for ExplodeColumn
impl Send for ExplodeColumn
impl Sync for ExplodeColumn
impl Unpin for ExplodeColumn
impl UnsafeUnpin for ExplodeColumn
impl UnwindSafe for ExplodeColumn
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