pub struct NodeDefinition {
pub id: String,
pub name: String,
pub service_id: ServiceId,
pub node_type: NodeType,
pub description: Option<String>,
pub capabilities: Vec<NodeCapability>,
pub timeout_ms: Option<u64>,
pub params_schema: Option<Value>,
}Expand description
Node definition from an extension service
Fields§
§id: StringNode ID
name: StringNode name
service_id: ServiceIdService ID that provides this node
node_type: NodeTypeNode type
description: Option<String>Node description
capabilities: Vec<NodeCapability>Supported capabilities
timeout_ms: Option<u64>Timeout in milliseconds
params_schema: Option<Value>Parameter schema (JSON Schema)
Trait Implementations§
Source§impl Clone for NodeDefinition
impl Clone for NodeDefinition
Source§fn clone(&self) -> NodeDefinition
fn clone(&self) -> NodeDefinition
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 moreAuto Trait Implementations§
impl Freeze for NodeDefinition
impl RefUnwindSafe for NodeDefinition
impl Send for NodeDefinition
impl Sync for NodeDefinition
impl Unpin for NodeDefinition
impl UnsafeUnpin for NodeDefinition
impl UnwindSafe for NodeDefinition
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