pub struct OutputDescriptor {
pub name: String,
pub ty: ValueType,
pub description: String,
pub streaming: bool,
}Expand description
One declared output of a node.
Unknown keys are rejected so a typo in a plugin manifest (streming) fails at
load time instead of being ignored.
Fields§
§name: String§ty: ValueType§description: String§streaming: boolWhether this output is streamed incrementally (node_chunk events).
Implementations§
Trait Implementations§
Source§impl Clone for OutputDescriptor
impl Clone for OutputDescriptor
Source§impl Debug for OutputDescriptor
impl Debug for OutputDescriptor
Source§impl<'de> Deserialize<'de> for OutputDescriptor
impl<'de> Deserialize<'de> for OutputDescriptor
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 OutputDescriptor
impl PartialEq for OutputDescriptor
Source§impl Serialize for OutputDescriptor
impl Serialize for OutputDescriptor
impl StructuralPartialEq for OutputDescriptor
Auto Trait Implementations§
impl Forget for OutputDescriptor
impl Freeze for OutputDescriptor
impl Move for OutputDescriptor
impl RefUnwindSafe for OutputDescriptor
impl Send for OutputDescriptor
impl Sync for OutputDescriptor
impl Unpin for OutputDescriptor
impl UnsafeUnpin for OutputDescriptor
impl UnwindSafe for OutputDescriptor
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