pub struct Descriptor {
pub name: String,
pub display_name: String,
pub description: String,
pub category: ConnectorCategory,
pub input_schema: Option<Value>,
pub output_schema: Option<Value>,
pub idempotent: bool,
pub side_effects: bool,
}Expand description
Self-description of a connector’s capabilities.
Fields§
§name: StringUnique registry name (e.g., “http.request”, “fs.write”).
display_name: StringHuman-readable display name.
description: StringDescription of what this connector does.
category: ConnectorCategoryCategory for grouping/filtering.
input_schema: Option<Value>JSON Schema describing expected input parameters.
output_schema: Option<Value>JSON Schema describing the output shape.
idempotent: boolWhether the connector is naturally idempotent (safe to retry).
side_effects: boolWhether the connector has external side effects.
Trait Implementations§
Source§impl Clone for Descriptor
impl Clone for Descriptor
Source§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 Descriptor
impl Debug for Descriptor
Source§impl<'de> Deserialize<'de> for Descriptor
impl<'de> Deserialize<'de> for Descriptor
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 Descriptor
impl PartialEq for Descriptor
Source§impl Serialize for Descriptor
impl Serialize for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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