pub struct ProjectionImportBatchV1 {
pub source_envelope_id: EnvelopeId,
pub schema_version: String,
pub export_schema_version: Option<String>,
pub content_digest: ContentDigest,
pub source_authority: String,
pub scope_key: ScopeKey,
pub trace_ctx: Option<TraceCtx>,
pub source_exported_at: String,
pub transformed_at: String,
pub records: Vec<ImportProjectionRecord>,
}ProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Expand description
A projection import batch produced by the bridge.
This is the unit of atomicity for projection imports. All records are committed together or rolled back entirely.
Temporal provenance is intentionally split:
source_exported_at= when the source envelope was emittedtransformed_at= when the bridge produced this batch
The importing store assigns authoritative imported recorded_at
when it commits the rows.
Phase status: migration-only
Removal condition: remove when all consumers have migrated to ProjectionImportBatchV3
Fieldsยง
ยงsource_envelope_id: EnvelopeIdProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Source envelope ID (for provenance).
schema_version: StringProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Import-side schema version this batch conforms to (I005).
For V1, the bridge emits the canonical import-side token
projection_import_batch_v1. The source export schema version is
preserved separately in export_schema_version.
export_schema_version: Option<String>ProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
The original export-side schema version from the source envelope.
Recorded for provenance; may differ from schema_version when the
bridge maps across versions.
content_digest: ContentDigestProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Content digest carried through from the source envelope.
ProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Source authority (e.g. โforgeโ).
scope_key: ScopeKeyProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Target scope.
trace_ctx: Option<TraceCtx>ProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
Trace context carried through from the source.
source_exported_at: StringProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
When the source envelope was exported.
transformed_at: StringProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
When this batch was produced by the bridge.
records: Vec<ImportProjectionRecord>ProjectionImportBatchV1 is compatibility-only. Use ProjectionImportBatchV3 for the canonical bridge output.
The import records, ready for memory ingestion.
Trait Implementationsยง
Sourceยงimpl Clone for ProjectionImportBatchV1
impl Clone for ProjectionImportBatchV1
Sourceยงfn clone(&self) -> ProjectionImportBatchV1
fn clone(&self) -> ProjectionImportBatchV1
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSourceยงimpl Debug for ProjectionImportBatchV1
impl Debug for ProjectionImportBatchV1
Sourceยงimpl<'de> Deserialize<'de> for ProjectionImportBatchV1
impl<'de> Deserialize<'de> for ProjectionImportBatchV1
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>,
Sourceยงimpl From<ProjectionImportBatchV1> for ProjectionImportBatchV2
impl From<ProjectionImportBatchV1> for ProjectionImportBatchV2
Sourceยงfn from(value: ProjectionImportBatchV1) -> Self
fn from(value: ProjectionImportBatchV1) -> Self
Sourceยงimpl From<ProjectionImportBatchV2> for ProjectionImportBatchV1
impl From<ProjectionImportBatchV2> for ProjectionImportBatchV1
Sourceยงfn from(value: ProjectionImportBatchV2) -> Self
fn from(value: ProjectionImportBatchV2) -> Self
Sourceยงimpl JsonSchema for ProjectionImportBatchV1
impl JsonSchema for ProjectionImportBatchV1
Sourceยงfn schema_name() -> String
fn schema_name() -> String
Sourceยงfn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Sourceยงfn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Sourceยงfn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more