pub enum AntRecord {
Manifest(Manifest),
SchemaType {
data: SchemaType,
},
Vertex {
data: Vertex,
},
Edge {
data: Edge,
},
Observation {
data: Observation,
},
Evidence {
data: Evidence,
},
Belief {
data: Belief,
},
Vector {
data: VectorRecord,
},
VertexTombstone {
data: Tombstone,
},
EdgeTombstone {
data: Tombstone,
},
Trailer {
counts: Counts,
sha256: String,
},
}Expand description
One record in the stream.
Variants§
Manifest(Manifest)
The stream header. Exactly one, first line.
SchemaType
A schema type declaration.
Fields
§
data: SchemaTypeThe declaration.
Vertex
A graph vertex.
Edge
A graph edge.
Observation
An observation.
Fields
§
data: ObservationThe observation.
Evidence
An evidence record.
Belief
A belief version.
Vector
An embedding document.
Fields
§
data: VectorRecordThe embedding document.
VertexTombstone
Deletion of a vertex. Cascades to its edges on import, exactly as a live delete does.
EdgeTombstone
Deletion of an edge.
Trailer
The stream footer: per-kind counts and the integrity hash. Exactly one, last line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AntRecord
impl<'de> Deserialize<'de> for AntRecord
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
impl StructuralPartialEq for AntRecord
Auto Trait Implementations§
impl Freeze for AntRecord
impl RefUnwindSafe for AntRecord
impl Send for AntRecord
impl Sync for AntRecord
impl Unpin for AntRecord
impl UnsafeUnpin for AntRecord
impl UnwindSafe for AntRecord
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