pub struct PortableBrainBundle {
pub version: u32,
pub name: String,
pub created_at: i64,
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
}Expand description
Portable knowledge bundle (Layer A concept core; optional AST decoupling).
Fields§
§version: u32Bundle format version (must be ≤ BUNDLE_VERSION to import).
name: StringDisplay name (usually the output file stem).
created_at: i64Unix epoch seconds when the bundle was written.
nodes: Vec<Node>Nodes included in the bundle.
edges: Vec<Edge>Edges with full metadata (relation_type, weights, timestamps).
Trait Implementations§
Source§impl Clone for PortableBrainBundle
impl Clone for PortableBrainBundle
Source§fn clone(&self) -> PortableBrainBundle
fn clone(&self) -> PortableBrainBundle
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 PortableBrainBundle
impl Debug for PortableBrainBundle
Source§impl<'de> Deserialize<'de> for PortableBrainBundle
impl<'de> Deserialize<'de> for PortableBrainBundle
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
Auto Trait Implementations§
impl Freeze for PortableBrainBundle
impl RefUnwindSafe for PortableBrainBundle
impl Send for PortableBrainBundle
impl Sync for PortableBrainBundle
impl Unpin for PortableBrainBundle
impl UnsafeUnpin for PortableBrainBundle
impl UnwindSafe for PortableBrainBundle
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