pub struct NodeMetadata {
pub node_type: String,
pub name: String,
pub description: String,
pub category: NodeCategory,
pub accepts: Vec<String>,
pub platforms: Vec<String>,
pub parameters: Vec<ParameterDef>,
pub input_cardinality: InputCardinality,
pub requires: Vec<Dependency>,
}Expand description
Complete self-description of a processor. Return type of
NodeProcessor::metadata(). The node_type is the direct dispatch
key (e.g., "image-compress").
Fields§
§node_type: StringPer-operation node type (e.g., "image-compress", "spreadsheet-clean").
name: StringHuman-readable processor name.
description: StringDescription of what this processor does.
category: NodeCategoryCategory for UI grouping/filtering.
accepts: Vec<String>Accepted MIME types. Empty means “any file type”.
platforms: Vec<String>Platforms this processor runs on ("browser", "server", "desktop").
parameters: Vec<ParameterDef>Parameters with types, defaults, and constraints.
input_cardinality: InputCardinalityHow this processor expects to receive files: one at a time or as a batch.
Defaults to PerFile. Used by the auto-iteration executor.
requires: Vec<Dependency>External binary dependencies. Empty for browser-only processors.
Trait Implementations§
Source§impl Clone for NodeMetadata
impl Clone for NodeMetadata
Source§fn clone(&self) -> NodeMetadata
fn clone(&self) -> NodeMetadata
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 NodeMetadata
impl Debug for NodeMetadata
Source§impl PartialEq for NodeMetadata
impl PartialEq for NodeMetadata
Source§impl Serialize for NodeMetadata
impl Serialize for NodeMetadata
impl StructuralPartialEq for NodeMetadata
Auto Trait Implementations§
impl Freeze for NodeMetadata
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnsafeUnpin for NodeMetadata
impl UnwindSafe for NodeMetadata
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