pub struct NodeContract {
pub kind: String,
pub type_id: String,
pub title: String,
pub description: Option<String>,
pub input_schema: Value,
pub output_schema: Value,
pub constraints: NodeConstraints,
}Fields§
§kind: String§type_id: String§title: String§description: Option<String>§input_schema: Value§output_schema: Value§constraints: NodeConstraintsTrait Implementations§
Source§impl Clone for NodeContract
impl Clone for NodeContract
Source§fn clone(&self) -> NodeContract
fn clone(&self) -> NodeContract
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 NodeContract
impl Debug for NodeContract
Source§impl<'de> Deserialize<'de> for NodeContract
impl<'de> Deserialize<'de> for NodeContract
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
Auto Trait Implementations§
impl Freeze for NodeContract
impl RefUnwindSafe for NodeContract
impl Send for NodeContract
impl Sync for NodeContract
impl Unpin for NodeContract
impl UnsafeUnpin for NodeContract
impl UnwindSafe for NodeContract
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