pub struct SchemaVersionCreatedEvent {
pub ts: i64,
pub upstream_id: String,
pub upstream_url: String,
pub method: String,
pub version: u32,
pub version_id: String,
pub content_hash: String,
pub payload: Value,
}Expand description
A new SchemaVersion was persisted for an upstream.
Carries the full merged payload so consumers (SQLite writer, cloud sink) can persist or forward without a secondary lookup.
Fields§
§ts: i64Unix milliseconds (UTC).
upstream_id: StringProxy config name (upstream identity).
upstream_url: StringUpstream MCP server URL (for legacy table rows keyed on url).
method: StringMCP method that produced this version.
version: u32Monotonic version number per (upstream, method).
version_id: StringOpaque SchemaVersionId (first 16 hex chars of content_hash).
content_hash: StringFull SHA-256 hex digest of the merged payload.
payload: ValueMerged result payload (post-pagination).
Trait Implementations§
Source§impl Clone for SchemaVersionCreatedEvent
impl Clone for SchemaVersionCreatedEvent
Source§fn clone(&self) -> SchemaVersionCreatedEvent
fn clone(&self) -> SchemaVersionCreatedEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaVersionCreatedEvent
impl Debug for SchemaVersionCreatedEvent
Auto Trait Implementations§
impl Freeze for SchemaVersionCreatedEvent
impl RefUnwindSafe for SchemaVersionCreatedEvent
impl Send for SchemaVersionCreatedEvent
impl Sync for SchemaVersionCreatedEvent
impl Unpin for SchemaVersionCreatedEvent
impl UnsafeUnpin for SchemaVersionCreatedEvent
impl UnwindSafe for SchemaVersionCreatedEvent
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