pub struct SchemaVersionEvent {
pub ts: i64,
pub proxy: String,
pub upstream_url: String,
pub method: String,
pub payload: String,
pub content_hash: String,
}Expand description
A new SchemaVersion produced by the proxy’s SchemaManager.
The writer trusts the event: SchemaManager guarantees the payload
differs from the previous version (unchanged ingests return None
and produce no event). The writer only diffs against the prior row
to populate schema_changes.
Fields§
§ts: i64§proxy: StringProxy name from config (upstream identity).
upstream_url: String§method: String§payload: StringMerged result payload as JSON string.
content_hash: StringSHA-256 hex digest of the canonical payload.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaVersionEvent
impl RefUnwindSafe for SchemaVersionEvent
impl Send for SchemaVersionEvent
impl Sync for SchemaVersionEvent
impl Unpin for SchemaVersionEvent
impl UnsafeUnpin for SchemaVersionEvent
impl UnwindSafe for SchemaVersionEvent
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