pub struct SemanticOperation {
pub id: u64,
pub topic: String,
pub focus_nodes: Vec<String>,
pub depth: u64,
pub timestamp: u64,
pub operation: String,
pub channel_id: Option<u64>,
pub sender: Option<String>,
}Expand description
A semantic operation record (send/extract/graft).
Fields§
§id: u64Unique ID.
topic: StringTopic or context.
focus_nodes: Vec<String>Focus nodes in the semantic graph.
depth: u64Depth of the operation.
timestamp: u64Timestamp (epoch seconds).
operation: StringOperation kind: send, extract, graft.
channel_id: Option<u64>Optional channel association.
sender: Option<String>Sender identity.
Trait Implementations§
Source§impl Clone for SemanticOperation
impl Clone for SemanticOperation
Source§fn clone(&self) -> SemanticOperation
fn clone(&self) -> SemanticOperation
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 SemanticOperation
impl Debug for SemanticOperation
Source§impl<'de> Deserialize<'de> for SemanticOperation
impl<'de> Deserialize<'de> for SemanticOperation
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 SemanticOperation
impl RefUnwindSafe for SemanticOperation
impl Send for SemanticOperation
impl Sync for SemanticOperation
impl Unpin for SemanticOperation
impl UnsafeUnpin for SemanticOperation
impl UnwindSafe for SemanticOperation
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