pub struct ChainDefinition {
pub id: String,
pub name: String,
pub description: Option<String>,
pub config: ChainConfig,
pub links: Vec<ChainLink>,
pub variables: HashMap<String, Value>,
pub tags: Vec<String>,
}
Expand description
Chain definition
Fields§
§id: String
Unique identifier for the chain
name: String
Human-readable name
description: Option<String>
Description of what this chain does
config: ChainConfig
Chain configuration
links: Vec<ChainLink>
Ordered list of requests to execute
variables: HashMap<String, Value>
Initial variables to set
Tags for categorization
Trait Implementations§
Source§impl Clone for ChainDefinition
impl Clone for ChainDefinition
Source§fn clone(&self) -> ChainDefinition
fn clone(&self) -> ChainDefinition
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 ChainDefinition
impl Debug for ChainDefinition
Source§impl<'de> Deserialize<'de> for ChainDefinition
impl<'de> Deserialize<'de> for ChainDefinition
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 ChainDefinition
impl RefUnwindSafe for ChainDefinition
impl Send for ChainDefinition
impl Sync for ChainDefinition
impl Unpin for ChainDefinition
impl UnwindSafe for ChainDefinition
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