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().
Fields§
§node_type: String§name: String§description: String§category: NodeCategory§accepts: Vec<String>§platforms: Vec<String>§parameters: Vec<ParameterDef>§input_cardinality: InputCardinality§requires: Vec<Dependency>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