pub struct NodeSource {
pub agent_id: String,
pub timestamp: String,
pub external_ref: Option<String>,
}Expand description
Source of a cognitive node.
Fields§
§agent_id: StringAgent or system that created this node.
timestamp: StringWhen created (ISO 8601).
external_ref: Option<String>Optional reference to external data.
Trait Implementations§
Source§impl Clone for NodeSource
impl Clone for NodeSource
Source§fn clone(&self) -> NodeSource
fn clone(&self) -> NodeSource
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 NodeSource
impl Debug for NodeSource
Source§impl<'de> Deserialize<'de> for NodeSource
impl<'de> Deserialize<'de> for NodeSource
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
Source§impl PartialEq for NodeSource
impl PartialEq for NodeSource
Source§impl Serialize for NodeSource
impl Serialize for NodeSource
impl StructuralPartialEq for NodeSource
Auto Trait Implementations§
impl Freeze for NodeSource
impl RefUnwindSafe for NodeSource
impl Send for NodeSource
impl Sync for NodeSource
impl Unpin for NodeSource
impl UnsafeUnpin for NodeSource
impl UnwindSafe for NodeSource
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