#[non_exhaustive]pub enum PreparedWrite {
Node {
kind: String,
body: String,
source_id: Option<String>,
},
Edge {
kind: String,
from: String,
to: String,
source_id: Option<String>,
},
OpStore {
collection: String,
record_key: String,
schema_id: Option<String>,
body: String,
},
AdminSchema {
name: String,
kind: String,
schema_json: String,
retention_json: String,
},
}Expand description
Batch input shape for Engine::write.
Marked #[non_exhaustive] per ADR-0.6.0-prepared-write-shape; new
entity variants land in 0.6.x without a major bump. Adding fields to
existing variants remains a binding-coordination change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PreparedWrite
impl Clone for PreparedWrite
Source§fn clone(&self) -> PreparedWrite
fn clone(&self) -> PreparedWrite
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 PreparedWrite
impl Debug for PreparedWrite
Source§impl PartialEq for PreparedWrite
impl PartialEq for PreparedWrite
Source§fn eq(&self, other: &PreparedWrite) -> bool
fn eq(&self, other: &PreparedWrite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PreparedWrite
impl StructuralPartialEq for PreparedWrite
Auto Trait Implementations§
impl Freeze for PreparedWrite
impl RefUnwindSafe for PreparedWrite
impl Send for PreparedWrite
impl Sync for PreparedWrite
impl Unpin for PreparedWrite
impl UnsafeUnpin for PreparedWrite
impl UnwindSafe for PreparedWrite
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