pub struct ComponentNode {
pub id: String,
pub kind: ComponentKind,
pub status: ComponentStatus,
pub metadata: HashMap<String, String>,
}Expand description
A node in the component graph.
Contains metadata (ID, kind, status, properties) for each component.
Runtime component instances (Arc<dyn Source>, etc.) are stored in the
managers’ HashMaps alongside the graph, keyed by the same component ID.
The graph and HashMaps are always updated together in the same code paths.
Fields§
§id: StringUnique identifier for this component
kind: ComponentKindType of component
status: ComponentStatusCurrent lifecycle status
metadata: HashMap<String, String>Optional metadata (e.g., source_type, query_language, reaction_type)
Trait Implementations§
Source§impl Clone for ComponentNode
impl Clone for ComponentNode
Source§fn clone(&self) -> ComponentNode
fn clone(&self) -> ComponentNode
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 moreSource§impl Debug for ComponentNode
impl Debug for ComponentNode
Source§impl<'de> Deserialize<'de> for ComponentNode
impl<'de> Deserialize<'de> for ComponentNode
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 ComponentNode
impl RefUnwindSafe for ComponentNode
impl Send for ComponentNode
impl Sync for ComponentNode
impl Unpin for ComponentNode
impl UnsafeUnpin for ComponentNode
impl UnwindSafe for ComponentNode
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