pub struct QueryRecord {
pub query_text: String,
pub seeds: Vec<NodeId>,
pub activated_nodes: Vec<NodeId>,
pub timestamp: f64,
}Expand description
Record of a single query for the memory ring buffer. Replaces: plasticity.py QueryRecord
Fields§
§query_text: String§seeds: Vec<NodeId>§activated_nodes: Vec<NodeId>§timestamp: f64Trait Implementations§
Source§impl Clone for QueryRecord
impl Clone for QueryRecord
Source§fn clone(&self) -> QueryRecord
fn clone(&self) -> QueryRecord
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 moreAuto Trait Implementations§
impl Freeze for QueryRecord
impl RefUnwindSafe for QueryRecord
impl Send for QueryRecord
impl Sync for QueryRecord
impl Unpin for QueryRecord
impl UnsafeUnpin for QueryRecord
impl UnwindSafe for QueryRecord
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